Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Return blank cell if value you vlookup is not on pivot

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!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLOOKUP RETURN BLANK dzierzekr Excel Worksheet Functions 3 September 15th 06 08:52 PM
VLOOKUP CONDITION TO RETURN BLANK CELL WHERE LOOKUP VALUE IS NOT IN TABLE ARRAY Scott Lolmaugh Excel Worksheet Functions 3 March 9th 06 11:05 PM
Vlookup return 0 when cell is blank Paul Excel Worksheet Functions 2 January 11th 06 05:01 PM
How do I return a blank for VLOOKUP instead of #N/A? ExcelBee Excel Worksheet Functions 15 September 3rd 05 07:04 AM
I need Vlookup to return a blank Eaglered Excel Discussion (Misc queries) 4 May 20th 05 02:04 AM


All times are GMT +1. The time now is 09:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"