it
returns the 2 column (B) in that lookup range (A1:z9999).
But if it doesn't find a match, it returns #n/a's. You can hide them with:
=if(iserror(vlookup(...)),"Missing",vlookup(...))
(the vlookup formula is duplicated.)
And one more slight problem. If the cell to be returned is empty, then the
formula will show a 0.
You can stack one more level of checking to it:
=if(iserror(vlookup(...)),"Missing",if(vlookup(...)="","",vlookup(...)))
and if you want to prepopulate the formula in a bunch of cells, and want the
cell to look empty until you put something in A1.
=if(a1="","",oneofthoseextremelylongvlookupformulashere)
The good news is once you get one formula correct, you can copy it down your
range.