Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bobak
 
Posts: n/a
Default Lookup on 2 Values

I have a data table eg.
CC A CC B CC C
Item 1 50 150 200
Item 2 75 80 90
Item 3 52 54 56

The number of rows and columns vary from day to day

I want to do a lookup to this table in another worksheet that has a fixed
structure that looks at the intersection of a row heading and column heading
and returns the value

eg lookup (CC B & Item 3) will return 54

Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
starguy
 
Posts: n/a
Default Lookup on 2 Values


suppose data resides in a range of G4:I9 with G5:G9 verticle headers and
H4:I4 horizontal headers.
INDEX(G4:I9,MATCH("item 1",G5:G9,0),MATCH("CC B",H4:I4,0))
you can also use cell reference instead of typing item 1 and CC B

Bobak Wrote:
I have a data table eg.
CC A CC B CC C
Item 1 50 150 200
Item 2 75 80 90
Item 3 52 54 56

The number of rows and columns vary from day to day

I want to do a lookup to this table in another worksheet that has a
fixed
structure that looks at the intersection of a row heading and column
heading
and returns the value

eg lookup (CC B & Item 3) will return 54

Any ideas?



--
starguy
------------------------------------------------------------------------
starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434
View this thread: http://www.excelforum.com/showthread...hreadid=539811

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
Summing lookup values ~C Excel Worksheet Functions 4 April 27th 06 06:33 PM
How do I use vlookup with two lookup values? pinpalchris Excel Worksheet Functions 4 April 25th 06 06:57 PM
Sum values in multiple sheets using Lookup to find a text match CheriT63 Excel Worksheet Functions 7 December 4th 05 02:33 AM
How do I lookup data with two comparison values? Tiziano Excel Worksheet Functions 9 December 3rd 05 05:15 AM
vlookup using two lookup values? tjb Excel Worksheet Functions 10 November 25th 05 05:21 AM


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