#1   Report Post  
tojo107
 
Posts: n/a
Default Nested vlookup

My formula is:

=((VLOOKUP($W$5181,Download!$A$1:$X$3403,3,FALSE)) +(VLOOKUP($W$5182,Download!$A$1:$X$3403,3,FALSE))) *0.001

The formula looks up the value in "$W..."and returns the amount of orders.
I alwayshave values for the first part of the lookup, but niot the second.

THe issue is that if there nothing to report back for the second lookup, it
gives me an "#NA" errror instead of at least returning the value for the
first lookup.

Any help?

Thanks,
TJ
  #2   Report Post  
Ken Wright
 
Posts: n/a
Default

Wrap both Lookups in their own ISNA() wrapper to trap for that error:-

=(IF(ISNA(VLookup1),0,VLookup1)+IF(ISNA(VLookup2), 0,VLookup2))*0.001

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------



"tojo107" wrote in message
...
My formula is:

=((VLOOKUP($W$5181,Download!$A$1:$X$3403,3,FALSE)) +(VLOOKUP($W$5182,Download!$A$1:$X$3403,3,FALSE))) *0.001

The formula looks up the value in "$W..."and returns the amount of
orders.
I alwayshave values for the first part of the lookup, but niot the second.

THe issue is that if there nothing to report back for the second lookup,
it
gives me an "#NA" errror instead of at least returning the value for the
first lookup.

Any help?

Thanks,
TJ



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
nested ifs or vlookup or ? tannersnonni Excel Discussion (Misc queries) 1 June 1st 05 02:39 AM
Rounding criteria within a nested vlookup and hlookup Jay Z Excel Worksheet Functions 1 March 23rd 05 10:34 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Nested if, sum & vlookup Function Trying to excel in life but need help Excel Worksheet Functions 4 January 13th 05 07:29 PM
Nested vlookup? astronautika Excel Worksheet Functions 1 November 19th 04 06:12 PM


All times are GMT +1. The time now is 11:33 PM.

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

About Us

"It's about Microsoft Excel"