Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Lookup data in multiple tables

I have data organized as:

product name1
Heading 1, heading 2, heading 3, heading 4
row name 1, data, data, data
row name 2, data, data, data
row name 3, data, data, data
row name 4, data, data, data
Total, data, data, data

product name 2
Heading 1, heading 2, heading 3, heading 4
row name 1, data, data, data
row name 2, data, data, data
Total, data, data, data

The issue is that i have many product names (over 25). The data is
always found in the named row "total" and column 4 AFTER finding the
name of the table. I need a formula that basically says, if you find
"product name X" then return the value the row named "total" and found
X columns to the right of that named row.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Lookup data in multiple tables

use the VLOOKUP function


"Anthony" wrote:

I have data organized as:

product name1
Heading 1, heading 2, heading 3, heading 4
row name 1, data, data, data
row name 2, data, data, data
row name 3, data, data, data
row name 4, data, data, data
Total, data, data, data

product name 2
Heading 1, heading 2, heading 3, heading 4
row name 1, data, data, data
row name 2, data, data, data
Total, data, data, data

The issue is that i have many product names (over 25). The data is
always found in the named row "total" and column 4 AFTER finding the
name of the table. I need a formula that basically says, if you find
"product name X" then return the value the row named "total" and found
X columns to the right of that named row.
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Lookup data in multiple tables

I misunderstood. sorry

use MATCH to find the row for the product

the use MATCH with OFFSET to get the value of the total row, and finally use
OFFSET with this value to get the result

=OFFSET(A1,MATCH("Total",OFFSET(A1,MATCH(H15,A:A,F ALSE),0,1000),FALSE)+MATCH(H15,A:A,FALSE)-1,4)

in this H15 is a product name



"Anthony" wrote:

I have data organized as:

product name1
Heading 1, heading 2, heading 3, heading 4
row name 1, data, data, data
row name 2, data, data, data
row name 3, data, data, data
row name 4, data, data, data
Total, data, data, data

product name 2
Heading 1, heading 2, heading 3, heading 4
row name 1, data, data, data
row name 2, data, data, data
Total, data, data, data

The issue is that i have many product names (over 25). The data is
always found in the named row "total" and column 4 AFTER finding the
name of the table. I need a formula that basically says, if you find
"product name X" then return the value the row named "total" and found
X columns to the right of that named row.
.

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
Multiple variable lookup tables Louja Excel Worksheet Functions 3 May 9th 09 10:33 AM
Setting up data validation and lookup tables...? Birmangirl Excel Discussion (Misc queries) 3 November 12th 08 12:06 AM
Lookup tables with multiple columns sharkfoot Excel Discussion (Misc queries) 5 March 30th 06 03:48 PM
lookup and choose wih multiple tables of unequal column lengths Lew Excel Discussion (Misc queries) 8 January 2nd 06 11:38 PM
Using Multiple LOOKUP tables KG Excel Discussion (Misc queries) 3 May 7th 05 01:00 AM


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