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

Data Analysis

  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • How to count table rows in Excel
  • How to calculate average last N values in a table in Excel
  • How To Filter Data in Excel
  • Conflicting Multiple Conditional Formatting Rules in Excel

References

  • How to get first row number in range in Excel
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • How to get last column number in range in Excel
  • MATCH function: Description, Usage, Syntax, Examples and Explanation
  • How to get address of first cell in range in Excel

Data Validations

  • Excel Data validation number multiple 100
  • Excel Data validation with conditional list
  • Excel Data validation unique values only
  • Excel Data validation don’t exceed total
  • Prevent invalid data entering in specific cells

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

  • How to use Excel FALSE Function
  • Not Equal To ‘<>‘ operator in Excel
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • Return blank if in Excel

Date Time

  • Get days, months, and years between dates in Excel
  • Get days before a date in Excel
  • Count dates in current month in Excel
  • How to calculate next day of week in Excel
  • Add years to date in Excel

Grouping

  • Group numbers at uneven intervals in Excel
  • Running count group by n size in Excel
  • Calculate conditional mode with criteria in Excel
  • Group times into 3 hour buckets in Excel
  • If cell contains one of many things in Excel

General

  • AutoFit Column Width, AutoFit Row Height in Excel
  • Subtotal invoices by age in Excel
  • Using Existing Templates in Excel
  • How to fill cell ranges with random text values in Excel
  • How to make excel worksheets print on one page?
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning