ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   I need Vlookup to return a blank (https://www.excelbanter.com/excel-discussion-misc-queries/26928-i-need-vlookup-return-blank.html)

Eaglered

I need Vlookup to return a blank
 
I need Vlookup to return a blank if the appropriate cell is empty.

Thank you so much . . . .Y'all have been extremely helpful!!

J.

Tony P.

This will work -

=if(vlookup(,,,)=[whatever the cause of the blank is],"",vlookup(,,,))

"Eaglered" wrote:

I need Vlookup to return a blank if the appropriate cell is empty.

Thank you so much . . . .Y'all have been extremely helpful!!

J.


Chip Pearson

Try something like

=IF(ISERROR(VLOOKUP(...)),"",VLOOKUP(...))


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Eaglered" wrote in message
...
I need Vlookup to return a blank if the appropriate cell is
empty.

Thank you so much . . . .Y'all have been extremely helpful!!

J.




Dave Peterson

Instead of returning a 0?

=if(vlookup()="","",vlookup())

And to get rid of the #n/a's:

=if(iserror(vlookup()),"missing",if(vlookup()=""," ",vlookup()))



Eaglered wrote:

I need Vlookup to return a blank if the appropriate cell is empty.

Thank you so much . . . .Y'all have been extremely helpful!!

J.


--

Dave Peterson

PC

IF("lookupcell"="","",
VLOOKUP("lookupcell","lookuprange","returnvaluecol umn","false??"))




"Eaglered" wrote in message
...
I need Vlookup to return a blank if the appropriate cell is empty.

Thank you so much . . . .Y'all have been extremely helpful!!

J.





All times are GMT +1. The time now is 01:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com