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

Data Analysis

  • How to calculate average last N values in a table in Excel
  • Number and Text Filters Examples in Excel
  • Get column index in Excel Table
  • Everything about Charts in Excel
  • How to Create Gantt Chart in Excel

References

  • How to get last column number in range in Excel
  • Extract all partial matches in Excel
  • Multi-criteria lookup and transpose in Excel
  • How to get relative row numbers in a range in Excel
  • Extract data with helper column in Excel

Data Validations

  • Excel Data validation with conditional list
  • Excel Data validation only dates between
  • Excel Data validation must begin with
  • Excel Data validation allow weekday only
  • Excel Data validation exists in list

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 return blank in place of #DIV/0! error in Excel
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • Not Equal To ‘<>‘ operator in Excel
  • IF with boolean logic in Excel
  • OR function Examples in Excel

Date Time

  • Add workdays to date custom weekends in Excel
  • NETWORKDAYS.INTL function: Description, Usage, Syntax, Examples and Explanation
  • Count day of week between dates in Excel
  • SECOND function: Description, Usage, Syntax, Examples and Explanation
  • How to get Weekdays, Working days between Two Dates in Excel

Grouping

  • If cell contains one of many things in Excel
  • Categorize text with keywords in Excel
  • Group times into 3 hour buckets in Excel
  • Group arbitrary text values in Excel
  • Running count group by n size in Excel

General

  • How to calculate percentage of total in Excel
  • Count cells less than in Excel
  • List worksheet index numbers in Excel
  • Basic text sort formula in Excel
  • Common Errors in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning