View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kath Kath is offline
external usenet poster
 
Posts: 23
Default I need to return one of three answers in a cell

Thanks. I have used the formula now of

=IF(ISBLANK(D19),"",IF(ISERROR(VLOOKUP(D19,Catalog ue!$A$4:$C$42,2,FALSE)),"unknown",VLOOKUP(D19,Cata logue!$A$4:$C$42,2,FALSE)))

and it returns the correct results, but it is saying it is an inconsistant
formula.

Any ideas on that?

Thanks again
Kath

"Dav" wrote:


Can you give us a little more information. Unknown can be added to a
lookup as the valure to return at he top or bottom of the range

of

if(isblank(a1)," ",if(vlookup you have used=#n/a,"Unknown",vlookup you
have used))

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=557777