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.
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.).
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).
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.