enhance vlookup to not return #n/a

T

Tom Leslie

I use the hlookup, vlookup and lookup functions in Excel a lot -- they're
really powerful for building automated reports. It's annoying that they
return #N/A when they can't find a lookup value, because I often do sum
totals on a column that may change in length, and the #N/A's are tough to
handle smoothly. (I'm sure there's a test that can trap and handle #N/A, but
I can never find it when I want to.) Anyway, I'd like an additional
parameter for the lookup functions that I could use to tell it to return
blank, 0 or #N/A when the lookup fails.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top