ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Help With Excel #N/A (https://www.excelbanter.com/excel-discussion-misc-queries/140703-help-excel-n.html)

XFILES

Help With Excel #N/A
 
I have a lookup that is as follows:
=vlookup(vlookup($B6,Analyst,11),Markit,3,False) This lookup goes out to a
sheet to match a ticker symbol and then goes to another sheet to get what I
want. Sometimes, I get #N/A errors which I expect. However, how do I add
the isna function to my lookup so that when I encounter a #N/A it is
converted to say a hyphen like this - Thanks.

PCLIVE

Help With Excel #N/A
 
Maybe one way:

=IF(ISERROR(VLOOKUP(VLOOKUP($B6,Analyst,11),Markit ,3)),
"-",VLOOKUP(VLOOKUP($B6,Analyst,11),Markit,3,FAL SE))

HTH,
Paul

"XFILES" wrote in message
...
I have a lookup that is as follows:
=vlookup(vlookup($B6,Analyst,11),Markit,3,False) This lookup goes out to
a
sheet to match a ticker symbol and then goes to another sheet to get what
I
want. Sometimes, I get #N/A errors which I expect. However, how do I add
the isna function to my lookup so that when I encounter a #N/A it is
converted to say a hyphen like this - Thanks.




XFILES

Help With Excel #N/A
 
That worked. I just had to add an extra False in their and it worked. THANK
YOU SO MUCH!!!

"PCLIVE" wrote:

Maybe one way:

=IF(ISERROR(VLOOKUP(VLOOKUP($B6,Analyst,11),Markit ,3)),
"-",VLOOKUP(VLOOKUP($B6,Analyst,11),Markit,3,FAL SE))

HTH,
Paul

"XFILES" wrote in message
...
I have a lookup that is as follows:
=vlookup(vlookup($B6,Analyst,11),Markit,3,False) This lookup goes out to
a
sheet to match a ticker symbol and then goes to another sheet to get what
I
want. Sometimes, I get #N/A errors which I expect. However, how do I add
the isna function to my lookup so that when I encounter a #N/A it is
converted to say a hyphen like this - Thanks.






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

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