Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 52
Default Lookup with two lookup values

I have two sheets one sheet I heap of information
For example something like this:

A B C
1 CODE QTY DATE
2 1212 2 1/09/2008
3 2323 12 26/08/2008
4 3434 5 1/09/2008

On another sheet I want to in B2 find the QTY when you match the Code (in
column A - see below) & Date (in Row 1)

A B
1 1/09/2008
2 3434

Please help with any suggestions.


  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Lookup with two lookup values

If your table is in Sheet1!A1:C4, try:

=INDEX(Sheet1!$B$2:$B$4,MATCH(1,(Sheet1!$A$2:$A$4= $A2)*(Sheet1!$C$2:$C$4=B$1),0))

array entered using Ctrl+Shift+Enter

"KimC" wrote:

I have two sheets one sheet I heap of information
For example something like this:

A B C
1 CODE QTY DATE
2 1212 2 1/09/2008
3 2323 12 26/08/2008
4 3434 5 1/09/2008

On another sheet I want to in B2 find the QTY when you match the Code (in
column A - see below) & Date (in Row 1)

A B
1 1/09/2008
2 3434

Please help with any suggestions.


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
How do I use LOOKUP to return a range of values, then SUM values? irvine79 Excel Worksheet Functions 5 August 4th 06 01:33 PM
Lookup on 2 Values Bobak Excel Worksheet Functions 1 May 8th 06 02:45 PM
Advanced Lookup (lookup for 2 values) 0-0 Wai Wai ^-^ Excel Worksheet Functions 2 March 30th 06 07:09 PM
LOOKUP VALUES Bob Excel Discussion (Misc queries) 1 March 21st 06 01:40 PM
How do I lookup and return different values when the lookup value. kg Excel Discussion (Misc queries) 1 January 20th 05 12:53 AM


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