Vlookup: Vertical Lookup in Excel


Using the above arguments, the below formula for cell F2 would be appropriate



Yüklə 15,49 Kb.
səhifə4/6
tarix05.01.2022
ölçüsü15,49 Kb.
#70000
1   2   3   4   5   6
Using the above arguments, the below formula for cell F2 would be appropriate:

=VLOOKUP(C2,$H$2:$I$21,2,FALSE)

Excel will return the sales rep name:

To quickly copy the formula down to all of your rows of data, double click the fill handle (the square dot) in the lower right corner of cell F2. Excel will quickly copy the formula and you will have filled in all of the rep names.





2. #N/A values indicate missing values in the lookup table

It is always possible that a new sales rep was hired since last creating the sales rep lookup table. A quick scan of the VLOOKUP column’s results is useful to find the values that returned #N/A. This indicates that the Rep ID from the invoice sheet was not found in the lookup table.

If there are too many records to easily scan, sort the dataset in descending order by the column filled with VLOOKUP. Any error cells will come to the top of the dataset in a descending sort.

In the example, it looks like a new sales rep 199 was recently hired:





Tip: When you add the new sales rep to your lookup table, insert them into the middle of the range. Your lookup table does not need to be sorted, and this will prevent you from having to reenter the VLOOKUP formula:




Yüklə 15,49 Kb.

Dostları ilə paylaş:
1   2   3   4   5   6




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©muhaz.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin