ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How can I have a false Vlookup give a blank instead of #N/A? (https://www.excelbanter.com/excel-worksheet-functions/198796-how-can-i-have-false-vlookup-give-blank-instead-n.html)

TQCON

How can I have a false Vlookup give a blank instead of #N/A?
 
I'm looking up values in a column using the VLOOKUP with the FALSE included
so that if the lookup item isn't present, I purposely get a "#N/A". Can I
nest an "IF" statement so that if the vlookup returns a "#N/A", I want it to
appear blank instead of getting the "#N/A"? Thanks.

Peo Sjoblom

How can I have a false Vlookup give a blank instead of #N/A?
 
=IF(ISNA(vlookup_formula),"",vlookup_formula)


--


Regards,


Peo Sjoblom



"TQCON" wrote in message
...
I'm looking up values in a column using the VLOOKUP with the FALSE
included
so that if the lookup item isn't present, I purposely get a "#N/A". Can I
nest an "IF" statement so that if the vlookup returns a "#N/A", I want it
to
appear blank instead of getting the "#N/A"? Thanks.




TQCON

How can I have a false Vlookup give a blank instead of #N/A?
 
Thanks, Peo. That solves the problem. I also then noticed that this
question is a common one that has been solved many times.

"Peo Sjoblom" wrote:

=IF(ISNA(vlookup_formula),"",vlookup_formula)


--


Regards,


Peo Sjoblom



"TQCON" wrote in message
...
I'm looking up values in a column using the VLOOKUP with the FALSE
included
so that if the lookup item isn't present, I purposely get a "#N/A". Can I
nest an "IF" statement so that if the vlookup returns a "#N/A", I want it
to
appear blank instead of getting the "#N/A"? Thanks.






All times are GMT +1. The time now is 04:07 PM.

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