A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

VLOOKUP problem



 
 
Thread Tools Display Modes
  #1  
Old September 15th, 2003, 03:53 PM
Crystal
external usenet poster
 
Posts: n/a
Default VLOOKUP problem

I'm using the VLOOKUP worksheet function and I'm having
some issues with the result affecting my other formulas.
Instead of the lookup returning "#N/A" when it can't find
the lookup value, I need it to return a zero. I tried to
nest it into an if statement, but it didn't work. Is
there a way to get a zero instead of "#N/A"?

Any help would be greatly appreciated,
Crystal

  #2  
Old September 15th, 2003, 04:03 PM
Anon
external usenet poster
 
Posts: n/a
Default VLOOKUP problem

"Crystal" wrote in message
...
I'm using the VLOOKUP worksheet function and I'm having
some issues with the result affecting my other formulas.
Instead of the lookup returning "#N/A" when it can't find
the lookup value, I need it to return a zero. I tried to
nest it into an if statement, but it didn't work. Is
there a way to get a zero instead of "#N/A"?

Any help would be greatly appreciated,
Crystal

Nesting within an IF statement is correct. Take whatever VLOOKUP formula
(yourformula) you have, and put it in the IF statement like this:
=IF(ISNA(yourformula),0,yourformula)


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:17 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.