Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default VLookups Across Mulitple Table Arrays

Is there a way to do a vlookup using mulitple table arrays? I tried, and
couldn't get it to work, but maybe I wasn't doing it the right way...
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default VLookups Across Mulitple Table Arrays

More detail???

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Elise148" wrote in message
...
Is there a way to do a vlookup using mulitple table arrays? I tried, and
couldn't get it to work, but maybe I wasn't doing it the right way...


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default VLookups Across Mulitple Table Arrays

Do you mean to look in one table and if it isn't there look in another
one, and so on? If so, here's a generic approach, but you'll need to
fill in the details yourself:

=IF(ISNA(vlookup(on_table1)),IF(ISNA(vlookup(on_ta ble2)),"not
present",vlookup(on_table2)),vlookup(on_table1))

Hopefully, you can see the symmetry if you want to apply it to more
tables.

Hope this helps.

Pete

On Jul 16, 6:30 pm, Elise148
wrote:
Is there a way to do a vlookup using mulitple table arrays? I tried, and
couldn't get it to work, but maybe I wasn't doing it the right way...



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default VLookups Across Mulitple Table Arrays

Well, what I'd like to do is check a table in 11 different sheets for a
specific account number and have a formula add all the amounts in a column
that relate to that account...

"Don Guillett" wrote:

More detail???

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Elise148" wrote in message
...
Is there a way to do a vlookup using mulitple table arrays? I tried, and
couldn't get it to work, but maybe I wasn't doing it the right way...



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default VLookups Across Mulitple Table Arrays

No, I would need to have the vlookup check about 11 different tables and add
up what it finds in all of the tables for the assigned value...any ideas?

"Pete_UK" wrote:

Do you mean to look in one table and if it isn't there look in another
one, and so on? If so, here's a generic approach, but you'll need to
fill in the details yourself:

=IF(ISNA(vlookup(on_table1)),IF(ISNA(vlookup(on_ta ble2)),"not
present",vlookup(on_table2)),vlookup(on_table1))

Hopefully, you can see the symmetry if you want to apply it to more
tables.

Hope this helps.

Pete

On Jul 16, 6:30 pm, Elise148
wrote:
Is there a way to do a vlookup using mulitple table arrays? I tried, and
couldn't get it to work, but maybe I wasn't doing it the right way...






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default VLookups Across Mulitple Table Arrays

What you want to do is doable but until you can give enough detail for
someone to help you, you won't get much help. No mind readers here. Send me
a workbook if you like but if you don't give me details I will just delete.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Elise148" wrote in message
...
Well, what I'd like to do is check a table in 11 different sheets for a
specific account number and have a formula add all the amounts in a column
that relate to that account...

"Don Guillett" wrote:

More detail???

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Elise148" wrote in message
...
Is there a way to do a vlookup using mulitple table arrays? I tried,
and
couldn't get it to work, but maybe I wasn't doing it the right way...




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default VLookups Across Mulitple Table Arrays

Sounds like you want to do a SUMIF across multiple sheets.

Try this:

Make a list of your sheet names in say, A1:A11.

This will sum B1:B10 if A1:A10 on any of the sheets listed contain the
account number XX:

=SUMPRODUCT(SUMIF(INDIRECT("'"&A1:A11&"'!A1:A10"), "XX",INDIRECT("'"&A1:A11&"'!B1:B10")))

If the account number is a numeric number like 9999 do not enclose it in
quotes. If the account number is an alpha-numeric like X99C then do enclose
it in quotes.

--
Biff
Microsoft Excel MVP


"Elise148" wrote in message
...
Well, what I'd like to do is check a table in 11 different sheets for a
specific account number and have a formula add all the amounts in a column
that relate to that account...

"Don Guillett" wrote:

More detail???

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Elise148" wrote in message
...
Is there a way to do a vlookup using mulitple table arrays? I tried,
and
couldn't get it to work, but maybe I wasn't doing it the right way...





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
Finding Duplicate Arrays in a table JohnHB Excel Discussion (Misc queries) 4 July 2nd 09 07:47 PM
Alter mulitple Vlookups at once MikeD1224 Excel Discussion (Misc queries) 2 February 16th 07 09:55 PM
Vlookups in a Pivot table brining back OFFSET Data tlk40us Excel Worksheet Functions 2 March 20th 06 05:52 PM
arrays and pivot table Carsten Excel Worksheet Functions 1 June 12th 05 09:10 AM
Vlookups Shaya M Excel Discussion (Misc queries) 3 May 27th 05 07:17 AM


All times are GMT +1. The time now is 10:26 AM.

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"