View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default VLookup - can I set my formula to fill in date if item isn't in ta

=if(isna(vlookup(...)),"default answer",vlookup(....))

If you're using xl2007, you could use:

=iferror(vlookup(...),"Default answer")

NANGO wrote:

I have quote spreadsheet in which sale rep can fill in a part number and the
description, price and type of item it is fills in automatically.

My question is, if they part number isn't in the vlookup table, I want a
default answer to fill in the type column instead of #N/A.

Is that possible, and if so, how would I do it?

Thanks


--

Dave Peterson