#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 318
Default vlook

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default vlook

=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


"Wanna Learn" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,939
Default vlook

Try this...

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

Jim Thomlinson


"Wanna Learn" wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 318
Default vlook

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

"Teethless mama" wrote:

=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


"Wanna Learn" wrote:

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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default vlook

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



Wanna Learn wrote:
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

"Teethless mama" wrote:

=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


"Wanna Learn" wrote:

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




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,173
Default vlook

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

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England

HIS
www.nickhodge.co.uk

"Wanna Learn" wrote in message
...
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

"Teethless mama" wrote:

=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


"Wanna Learn" wrote:

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



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 318
Default vlook

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

"Jim Thomlinson" wrote:

Try this...

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

Jim Thomlinson


"Wanna Learn" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
use vlook to show the value of a cell using a formula David Excel Discussion (Misc queries) 5 October 21st 06 12:01 AM
How to use Vlook up tim m Excel Discussion (Misc queries) 0 August 24th 06 09:23 PM
Subject: vlook up 1/25/2006 1:39 PM PST arcticale Excel Discussion (Misc queries) 1 January 27th 06 06:10 PM
vlook up arcticale Excel Discussion (Misc queries) 1 January 25th 06 09:36 PM
How do I use drop down list selections/values in a vlook up formu. CL Excel Discussion (Misc queries) 2 January 19th 05 10:39 PM


All times are GMT +1. The time now is 12:39 PM.

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

About Us

"It's about Microsoft Excel"