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

Data Analysis

  • Create Scatter Chart in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • How To Insert and Customize Sparklines in Excel
  • How to Create One and Two Variable Data Tables in Excel
  • How To Filter Data in Excel

References

  • Extract data with helper column in Excel
  • How to retrieve first match between two ranges in Excel
  • Merge tables with VLOOKUP in Excel
  • How to get relative column numbers in a range in Excel
  • How to use Excel COLUMN Function

Data Validations

  • Excel Data validation number multiple 100
  • Excel Data validation must not contain
  • Data validation must not exist in list
  • Excel Data validation no punctuation
  • Excel Data validation unique values only

Get column index in Excel Table

by

To get the index of a column in an Excel Table, you can use the MATCH function. See example below:

Formula

=MATCH(name,Table[#Headers],0)

Explanation

In the example shown, the formula in I4 is:

=MATCH(H4,Table1[#Headers],0)

When the formula is copied down, it returns an index for each column listed in column H. Getting an index like this is useful when you want to refer to table columns by index in other formulas, like VLOOKUP, INDEX and MATCH, etc.

How this formula works

This is a standard MATCH formula where the lookup values come from column H, the array is the headers in Table1, and match type is zero, to force an exact match.

The only trick to the formula is the use of a structured reference to return a range for the table headers to the MATCH function:

Table1[#Headers]

The nice thing about this reference is that it will automatically adjust to any changes in the table. Even when columns are added or removed, the reference will continue to return the correct range.

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

  • IF, AND, OR and NOT Functions Examples in Excel
  • Return blank if in Excel
  • Invoice status with nested if in Excel
  • Check multiple cells are equal in Excel
  • How to use Excel XOR Function

Date Time

  • Calculate years between dates in Excel
  • Convert text to date in Excel
  • How to calculate working days left in month in Excel
  • How to get Holiday Date from Year in Excel
  • Extract date from a date and time in Excel

Grouping

  • Group numbers at uneven intervals in Excel
  • Calculate conditional mode with criteria in Excel
  • How to randomly assign data to groups in Excel
  • How to randomly assign people to groups in Excel
  • Group numbers with VLOOKUP in Excel

General

  • List worksheet index numbers in Excel
  • Select, Insert, Rename, Move, Delete Worksheets in Excel
  • How to password protect excel sheet?
  • How to calculate profit margin percentage in Excel
  • With vs Without Array Formula in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning