How do I… · Excel
VLOOKUP finds a value in the first column of a range and returns something from a column to its right. Four arguments, and the fourth is the one that goes wrong.
=VLOOKUP(.A2.$ — $D$2:$F$400 — so it does not slide when you fill the formula down.FALSE. This asks for an exact match. Leaving it out means approximate, which silently returns the wrong row on unsorted data.=VLOOKUP(A2, $D$2:$F$400, 3, FALSE) reads: find A2 in column D, return the third column of that range — column F. If you get #N/A, the value genuinely is not there, or one side has trailing spaces or is text where the other is a number. Wrap it in IFERROR(…, "") once you have checked, not before. If the value you are looking up sits to the right of what you want back, VLOOKUP cannot do it — use XLOOKUP, or INDEX/MATCH on older versions.
Faster than searching: box the part of your screen you cannot work out and ask about it directly — in Excel or anywhere else. Answers arrive where you drew the box.