Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

vlook

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wanna Learn - 20 Oct 2006 17:45 GMT
Hello     I have a formula  in a cell and the response is #NA.  Here is the
formula
=VLOOKUP($J33,'2006 Discount Grid'!$A$1:$O$386,12,FALSE)  the reason I'm
getting the #NA response is that $J33 is also a Vlookup.  but I don't know
how to correct this.  Can one of you geniuses help  please   and thanks
Teethless mama - 20 Oct 2006 17:49 GMT
=IF(ISNA(VLOOKUP($J33,'2006 Discount
Grid'!$A$1:$O$386,12,FALSE),"",=VLOOKUP($J33,'2006 Discount
Grid'!$A$1:$O$386,12,FALSE))

The above formula will trap the #N/A

> Hello     I have a formula  in a cell and the response is #NA.  Here is the
> formula
> =VLOOKUP($J33,'2006 Discount Grid'!$A$1:$O$386,12,FALSE)  the reason I'm
> getting the #NA response is that $J33 is also a Vlookup.  but I don't know
> how to correct this.  Can one of you geniuses help  please   and thanks
Wanna Learn - 20 Oct 2006 18:16 GMT
Thanks "Teethless mama"   I copied the formula exactly as it is below  and it
does not work.  Let me rephase.  the value in cell J33 is also a lookup
formula

> =IF(ISNA(VLOOKUP($J33,'2006 Discount
> Grid'!$A$1:$O$386,12,FALSE),"",=VLOOKUP($J33,'2006 Discount
[quoted text clipped - 7 lines]
> > getting the #NA response is that $J33 is also a Vlookup.  but I don't know
> > how to correct this.  Can one of you geniuses help  please   and thanks
vezerid - 20 Oct 2006 18:36 GMT
Following the discussion until now, I have a couple of questions.
1. If I understand you correctly, you have pinpointed your problem down
to the formula returning #N/A because J33 itself is #N/A, J33 being the
result of a lookup which failed. Is this correct?
2. What do you mean by "correct"? Avoid the error value and return
blank or a message of choice? If J33 required a value to be found and
the value was not found it is reasonable that a query based on J33 will
return "not found" in any form.

If you want to trap the error of J33 then you could use
IF(ISNA(J33),a,b). But what could these values a, b be? Whatever they
are, either they will not be in your lookup table
('2006 Discount Grid'!$A$1:$O$386) or they could default to a certain
value (unlikely).

So I suggest you specify more clearly what it is you want to avoid.

HTH
Kostis Vezerides

> Thanks "Teethless mama"   I copied the formula exactly as it is below  and it
> does not work.  Let me rephase.  the value in cell J33 is also a lookup
[quoted text clipped - 11 lines]
> > > getting the #NA response is that $J33 is also a Vlookup.  but I don't know
> > > how to correct this.  Can one of you geniuses help  please   and thanks
Nick Hodge - 20 Oct 2006 18:36 GMT
That shouldn't matter, excel will read the value result of the vlookup, not
the formula itself.

You have another issue producing the #N/A

Signature

HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England

nick_hodgeTAKETHISOUT@zen.co.uk.ANDTHIS
www.nickhodge.co.uk

> Thanks "Teethless mama"   I copied the formula exactly as it is below  and
> it
[quoted text clipped - 15 lines]
>> > know
>> > how to correct this.  Can one of you geniuses help  please   and thanks
Jim Thomlinson - 20 Oct 2006 17:51 GMT
Try this...

=if(isna($J33), "Error Message", VLOOKUP($J33,'2006 Discount
Grid'!$A$1:$O$386,12,FALSE))
Signature

HTH...

Jim Thomlinson

> Hello     I have a formula  in a cell and the response is #NA.  Here is the
> formula
> =VLOOKUP($J33,'2006 Discount Grid'!$A$1:$O$386,12,FALSE)  the reason I'm
> getting the #NA response is that $J33 is also a Vlookup.  but I don't know
> how to correct this.  Can one of you geniuses help  please   and thanks
Wanna Learn - 20 Oct 2006 19:54 GMT
Thank you everyone .  I could not have done it without you.  J 33 was a
result of a lookup -and that table was formated as text - and the discount
grid table was formatted as number    doh!    again thanks everyone

> Try this...
>
[quoted text clipped - 6 lines]
> > getting the #NA response is that $J33 is also a Vlookup.  but I don't know
> > how to correct this.  Can one of you geniuses help  please   and thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.