Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How To Sort One Column or Multiple Columns in Excel
  • How to calculate current stock or inventory in Excel
  • How to create Checklist in Excel
  • Everything about Charts in Excel
  • How To Insert and Customize Sparklines in Excel

References

  • How to use Excel VLOOKUP Function
  • How to get address of named range in Excel
  • How to use Excel OFFSET function
  • How to use Excel INDIRECT Function
  • How to use Excel MATCH Function

Data Validations

  • Excel Data validation require unique number
  • Excel Data validation allow weekday only
  • Excel Data validation date in next 30 days
  • Excel Data validation whole percentage only
  • Excel Data validation number multiple 100

List worksheet index numbers in Excel

by

To list the index numbers of sheets in an Excel workbook, you can enter the sheet names, then use a formula based on the SHEET and INDIRECT functions.

The SHEET function then returns the current index for each sheet as listed.

Formula

=SHEET(INDIRECT(name&"!A1"))

Explanation

In the example shown, the formula in C5 is:

=SHEET(INDIRECT(B5&"!A1"))

How this formula works

The INDIRECT function tries to evaluate text as a valid reference. In this case, the sheet name is pulled from column B and concatenated with an exclamation point and the text A1:

=B5&"!A1"
="Sheet1"&"!A1"
="Sheet1!A1"

The INDIRECT function then coerces the text “Sheet1!A1” into a valid reference, which is passed into the SHEET function.

 

Post navigation

Previous Post:

DECIMAL function: Description, Usage, Syntax, Examples and Explanation

Next Post:

AVERAGE function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Invoice status with nested if in Excel
  • IF with boolean logic in Excel
  • How to use Excel OR Function
  • SWITCH function example in Excel
  • IF with wildcards in Excel

Date Time

  • Extract time from a date and time in Excel
  • WORKDAY function: Description, Usage, Syntax, Examples and Explanation
  • Basic timesheet formula with breaks in Excel
  • Extract date from a date and time in Excel
  • Convert decimal seconds to Excel time

Grouping

  • Calculate conditional mode with criteria in Excel
  • How to randomly assign data to groups in Excel
  • Group times into 3 hour buckets in Excel
  • Running count group by n size in Excel
  • How to randomly assign people to groups in Excel

General

  • Freeze and Unfreeze Panes in Excel
  • List worksheet index numbers in Excel
  • How to calculate percentage discount in Excel
  • How to get random value from list or table in Excel
  • Check if range contains a value not in another range in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning