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

Data Analysis

  • How to count table rows in Excel
  • How to sum a total in multiple Excel tables
  • How to do a t-Test in Excel?
  • How To Sort One Column or Multiple Columns in Excel
  • Understanding Anova in Excel

References

  • How to use Excel TRANSPOSE Function
  • Multi-criteria lookup and transpose in Excel
  • How to use Excel ROWS Function
  • How to create dynamic named range with OFFSET in Excel
  • Get nth match with INDEX / MATCH in Excel

Data Validations

  • Excel Data validation allow uppercase only
  • Data validation must not exist in list
  • Excel Data validation require unique number
  • Excel Data validation unique values only
  • Excel Data validation don’t exceed total

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

  • How to use Excel AND Function
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • Complete List of Excel Logical Functions, References and Examples
  • Excel If, Nested If, And/Or Criteria Examples

Date Time

  • Get month from date in Excel
  • Convert decimal hours to Excel time
  • Assign points based on late time in Excel
  • How to calculate next anniversary date or birthday in Excel
  • Convert date to Julian format in Excel

Grouping

  • Categorize text with keywords in Excel
  • Group arbitrary text values in Excel
  • Calculate conditional mode with criteria in Excel
  • Running count group by n size in Excel
  • Group numbers at uneven intervals in Excel

General

  • List worksheet index numbers in Excel
  • How to calculate profit margin percentage in Excel
  • How to get original price from percentage discount in Excel
  • Sum by group in Excel
  • Automatically fill series of cells in Excel using AutoFill
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning