If the sheet name is changed, the reference should update automatically.

When the evaluation succeeds, INDIRECT converts the text into a valid reference.

TheVLOOKUP functionis used to perform the lookup.

Example of month data sheet for January

“Jan”, “Feb”, “Mar”).

A single quote character is joined to either side of C$4 using theconcatenationoperator(&).

Next, the exclamation point (!)

Example of month data sheet for January

We provide zero (0) forrange_lookupto force an exact match.

As the formula is copied down and across, VLOOKUP retrieves the correct values from each sheet.

However, because we are using alookup operationto retrieve the monthly values, this does not matter.

Example of month data sheet for January

INDIRECT is useful when you want to assemble a text value that can be used as a valid reference.

Example of month data sheet for January

Example of month data sheet for January

Excel formula: Dynamic worksheet reference

Excel formula: Dynamic workbook reference

Excel formula: VLOOKUP with variable table array

Excel formula: Sum across multiple worksheets with criteria

Excel formula: Merge tables with VLOOKUP

Excel formula: VLOOKUP without #N/A error

Excel VLOOKUP function

Excel INDIRECT function

Article image

Article image

Article image

Article image

Example of month data sheet for January