Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default lookup using column headers and row headers

i am wanting to create a lookup that will return a value from another sheet
based on the headers from both columns and rows...to return the value at the
intersect

for example:

column A B C
NAME UNIT HRS
JIM 1 20
TOM 3 40
RON 1 36
SALLY 2 43
TOTALS 7 139

I want to lookup the value where Unit and Totals meet... 7

the number of names in the list may vary so I dont want to set as fixed
location

also the data on that page may have more than one TOTALS row - although
column headers would be different in each set of data

for example the second set of data on that page might be

Column A B C
Name EXP BUD
JIM 10 20
TOM 23 20
RON 35 40
SALLY 40 40
Totals 108 120

What would be the most efficient formula to return the desired data?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default lookup using column headers and row headers

FYI- I have used the following formula

=VLOOKUP($A1,Sheet1!$B:$S,MATCH(C$7,Sheet1!$B4:$R4 ,0),0)

The only problem is on the vlookup for data in the second set of
information... since the number of rows can vary from time to time, I cannot
set the match for the second set of data because it will not always be the
same row...

any thoughts on how to overcome this obstacle?


"Memphus01" wrote:

i am wanting to create a lookup that will return a value from another sheet
based on the headers from both columns and rows...to return the value at the
intersect

for example:

column A B C
NAME UNIT HRS
JIM 1 20
TOM 3 40
RON 1 36
SALLY 2 43
TOTALS 7 139

I want to lookup the value where Unit and Totals meet... 7

the number of names in the list may vary so I dont want to set as fixed
location

also the data on that page may have more than one TOTALS row - although
column headers would be different in each set of data

for example the second set of data on that page might be

Column A B C
Name EXP BUD
JIM 10 20
TOM 23 20
RON 35 40
SALLY 40 40
Totals 108 120

What would be the most efficient formula to return the desired data?

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
Row/Column Headers arreguka Excel Discussion (Misc queries) 2 September 18th 07 09:54 PM
column headers TA Excel Discussion (Misc queries) 2 February 13th 07 01:56 AM
Column and row headers [email protected] Excel Discussion (Misc queries) 1 December 2nd 05 07:43 PM
Several column headers have a $ following name, what? rdavidson Excel Discussion (Misc queries) 1 September 29th 05 09:46 PM
Column Headers Cscritch Excel Discussion (Misc queries) 1 February 2nd 05 05:09 PM


All times are GMT +1. The time now is 05:41 AM.

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"