View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Return blank cell if value you vlookup is not on pivot

One way:

=IF(COUNTIF('Vacay Pivot'!$A$5:$A$1788,$B2),VLOOKUP($B2,'Vacay
Pivot'!$A$5:$G$1788,2,0),"")

Biff

"Franky88" wrote in message
...
This is similar to other questions I've seen posted but unfortunately I
can't
get my formula to work. If the value I lookup does not have a value on
the
pivot table I'm searching, I'd like to return a blank cell instead of #N/A
in
the cell. The vlookup formula I'm using is: =VLOOKUP($B2,'Vacay
Pivot'!$A$5:$G$1788,2,FALSE) I'm by no means great in excel so if anyone
can
offer advice as to how to use an if statement with this lookup formula to
return a blank cell instead of #N/A I would be SOOO grateful.
Thank you!