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

Data Analysis

  • Excel Pie Chart
  • How to Create Area Chart in Excel
  • Error Bars in Excel
  • Number and Text Filters Examples in Excel
  • Conditional Formatting Data bars Examples in Excel

References

  • To count total rows in a range in Excel
  • How to reference named range different sheet in Excel
  • How to use Excel LOOKUP Function
  • How to use Excel INDIRECT Function
  • How to get address of named range in Excel

Data Validations

  • Excel Data validation date in specific year
  • Excel Data validation require unique number
  • Excel Data validation date in next 30 days
  • Prevent invalid data entering in specific cells
  • Data validation must not exist in list

Get column name from index in Excel Table

by

To get the name of a column in an Excel Table from its numeric index, you can use the INDEX function with a structured reference. See example below:

Formula

=INDEX(Table[#Headers],index)

Explanation

In the example shown, the formula in I4 is:

=INDEX(Table1[#Headers],H5)

When the formula is copied down, it returns an name for each column, based on index values in column H.

How this formula works

This is a standard INDEX formula. The only trick to the formula is the use of a structured reference to return a range for the table headers:

Table1[#Headers]

This range goes into INDEX for the array argument, with the index value supplied from column H:

=INDEX(Table1[#Headers],H5)

The result is he name of the first item in the header, which is “ID”.

Although the headers are in a horizontal array, with values in columns, INDEX will use the row number as a generic INDEX for one-dimensional arrays like this and correctly return the value at that position.

Post navigation

Previous Post:

How to calculate project complete percentage in Excel

Next Post:

Popularly Used Excel Functions and their examples

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

  • Nested IF function example in Excel
  • IF, AND, OR and NOT Functions Examples in Excel
  • IF with boolean logic in Excel
  • Extract multiple matches into separate rows in Excel
  • AND function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get work hours between dates custom schedule in Excel
  • Convert text date dd/mm/yy to mm/dd/yy in Excel
  • Sum through n months in Excel
  • Add decimal hours to time in Excel
  • Get days before a date in Excel

Grouping

  • Group arbitrary text values in Excel
  • Calculate conditional mode with criteria in Excel
  • Categorize text with keywords in Excel
  • How to randomly assign data to groups in Excel
  • How to randomly assign people to groups in Excel

General

  • Find, Select, Replace and Go To Special in Excel
  • Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel
  • Count cells less than in Excel
  • How to count total number of cells in a rectangular range in Excel
  • How to generate random number between two numbers in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning