Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default vlookup in one table if no data look in another

I have a rather large workbook with dozens of pages and I'm having trouble
with a vlookup that I would appreciate help with. What I need is for one
table (with 2009 data) to be looked at and if there's no value then to look
at another table (with 2008 data). The formula I came up with, that doesn't
work if there's no 2009 data, is:

=IF(VLOOKUP($B$94,ALG09Data,4,FALSE),VLOOKUP($B$94 ,ALG08Data,4,FALSE),VLOOKUP
($B$94,ALG09Data,4,FALSE))

B94 has the value I'm looking for. I would appreciate any help.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200812/1

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default vlookup in one table if no data look in another

Oops. the formula I meant to put was:

=IF(VLOOKUP($B$94,ALG09Data,4,FALSE)0,VLOOKUP($B$ 94,ALG09Data,4,FALSE),
VLOOKUP
($B$94,ALG08Data,4,FALSE))

Joe_Hunt wrote:
I have a rather large workbook with dozens of pages and I'm having trouble
with a vlookup that I would appreciate help with. What I need is for one
table (with 2009 data) to be looked at and if there's no value then to look
at another table (with 2008 data). The formula I came up with, that doesn't
work if there's no 2009 data, is:

=IF(VLOOKUP($B$94,ALG09Data,4,FALSE),VLOOKUP($B$9 4,ALG08Data,4,FALSE),VLOOKUP
($B$94,ALG09Data,4,FALSE))

B94 has the value I'm looking for. I would appreciate any help.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200812/1

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default vlookup in one table if no data look in another

Hi,

Try


=IF(ISNA(VLOOKUP($B$94,ALG09Data,4,)),VLOOKUP($B$9 4,ALG09Data,4,),VLOOKUP($B$94,ALG08Data,4,))

In 2007

=IFERROR(VLOOKUP($B$94,ALG09Data,4,),VLOOKUP($B$94 ,ALG08Data,4,))

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Joe_Hunt via OfficeKB.com" wrote:

I have a rather large workbook with dozens of pages and I'm having trouble
with a vlookup that I would appreciate help with. What I need is for one
table (with 2009 data) to be looked at and if there's no value then to look
at another table (with 2008 data). The formula I came up with, that doesn't
work if there's no 2009 data, is:

=IF(VLOOKUP($B$94,ALG09Data,4,FALSE),VLOOKUP($B$94 ,ALG08Data,4,FALSE),VLOOKUP
($B$94,ALG09Data,4,FALSE))

B94 has the value I'm looking for. I would appreciate any help.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200812/1


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default vlookup in one table if no data look in another

That didn't quite work, but it cleared it up for me enough to see it. For the
record in case it helps anyone else this works:

=IF(ISNA(VLOOKUP($B$94,ALG09Data,4,FALSE)),VLOOKUP ($B$94,ALG08Data,4,FALSE),
VLOOKUP($B$94,ALG09Data,4,FALSE))

Thank you very much! You've saved me a ton of work.

Shane Devenshire wrote:
Hi,

Try


=IF(ISNA(VLOOKUP($B$94,ALG09Data,4,)),VLOOKUP($B$ 94,ALG09Data,4,),VLOOKUP($B$94,ALG08Data,4,))

In 2007

=IFERROR(VLOOKUP($B$94,ALG09Data,4,),VLOOKUP($B$9 4,ALG08Data,4,))

I have a rather large workbook with dozens of pages and I'm having trouble
with a vlookup that I would appreciate help with. What I need is for one

[quoted text clipped - 6 lines]

B94 has the value I'm looking for. I would appreciate any help.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200812/1

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default vlookup in one table if no data look in another

You might be able to use this:

=VLOOKUP($B$94,IF(COUNTIF(INDEX(ALG08Data,,1),$B$9 4),ALG08Data,ALG09Data),4,0)

--
Biff
Microsoft Excel MVP


"Joe_Hunt via OfficeKB.com" <u45578@uwe wrote in message
news:8f7161ef2e5cc@uwe...
That didn't quite work, but it cleared it up for me enough to see it. For
the
record in case it helps anyone else this works:

=IF(ISNA(VLOOKUP($B$94,ALG09Data,4,FALSE)),VLOOKUP ($B$94,ALG08Data,4,FALSE),
VLOOKUP($B$94,ALG09Data,4,FALSE))

Thank you very much! You've saved me a ton of work.

Shane Devenshire wrote:
Hi,

Try


=IF(ISNA(VLOOKUP($B$94,ALG09Data,4,)),VLOOKUP($B $94,ALG09Data,4,),VLOOKUP($B$94,ALG08Data,4,))

In 2007

=IFERROR(VLOOKUP($B$94,ALG09Data,4,),VLOOKUP($B$ 94,ALG08Data,4,))

I have a rather large workbook with dozens of pages and I'm having
trouble
with a vlookup that I would appreciate help with. What I need is for one

[quoted text clipped - 6 lines]

B94 has the value I'm looking for. I would appreciate any help.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200812/1



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
Vlookup With Multiple Instances in Data Table [email protected] Excel Worksheet Functions 5 October 7th 08 08:15 AM
VLOOKUP not working due different formats in lookup data & table? MikeNeilWalker Excel Discussion (Misc queries) 2 March 12th 07 11:14 AM
vlookup data in a dynamic pivot table? MikeM Excel Worksheet Functions 4 January 2nd 06 10:00 PM
vlookup fails on data from a pivot table Pat Excel Worksheet Functions 3 August 17th 05 09:30 PM
Table Array in VLOOKUP Relies on Data Validation willydlish Excel Worksheet Functions 2 February 16th 05 03:20 AM


All times are GMT +1. The time now is 06:19 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"