The Helper column is used to create a special lookup value, as explained below.

If the product in H4 is changed, the formula should calculate a new result.

All data exists in an Excel Table nameddata.

Excel formula: Get nth match with INDEX / MATCH

The lookup value is created byconcatenatingthe product in I4 to a running count of the product.

The values in column B show the results of this formula.

“A-1”, “A-2”, etc.).

Excel formula: Running count of occurrence in list

Thetable_arrayis theExcel Tablenamed data.

To get the Name, we use 4 forcolumn_index_numand to get the Amount, we use 5.

Finally, we have the last value, which is zero (0).

Excel formula: VLOOKUP two-way lookup

Using zero (0) tells VLOOKUP to find anexact matchfor the id.

If the exact id isn’t found, VLOOKUP will return the #N/A error.

For a more information about VLOOKUP, see:How to use the VLOOKUP function.

Excel formula: VLOOKUP calculate grades

Excel formula: Merge tables with VLOOKUP

Excel VLOOKUP function

Excel COUNTIF function

Article image

Article image

Article image