Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Lookup value in col D when Col A & B are listed multiple times

I want to capture info from col C when values I enter equal values listed in
col A and col B (example - I enter 2.000 and 20-25 and it returns 1.550).

I have data as follows:

1.500 5-10 .896
1.500 15-20 .875
1.500 20-25 .866
2.000 15-20 1.750
2.000 20-25 1.550
3.500 15-20 2.420
3.500 20-25 2.300
3.500 25-30 2.260
3.500 35-40 2.140

Any suggestions? Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Lookup value in col D when Col A & B are listed multiple times

Hi,

with your data in columns A,B & C and the lookup values in d1 & E1

D1= 20-25
E1= 2.0
=INDEX(A1:A9,MATCH(1,(B1:B9=D1)*(C1:C9=E1),0))


'This is an array formula which must be entered with CTRL+Shift+Enter and NOT
'just enter. If you do it correctly then Excel will put curly brackets around
'the formula{}. You can't type these yourself. If you Edit the ranges
'then you must re-enter as An array

Mike

"HammerD" wrote:

I want to capture info from col C when values I enter equal values listed in
col A and col B (example - I enter 2.000 and 20-25 and it returns 1.550).

I have data as follows:

1.500 5-10 .896
1.500 15-20 .875
1.500 20-25 .866
2.000 15-20 1.750
2.000 20-25 1.550
3.500 15-20 2.420
3.500 20-25 2.300
3.500 25-30 2.260
3.500 35-40 2.140

Any suggestions? Thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Lookup value in col D when Col A & B are listed multiple times

I miread you column requirements, try this instead

=INDEX(C1:C9,MATCH(1,(A1:A9=D1)*(B1:B9=E1),0))

still an array

Mike

"Mike H" wrote:

Hi,

with your data in columns A,B & C and the lookup values in d1 & E1

D1= 20-25
E1= 2.0
=INDEX(A1:A9,MATCH(1,(B1:B9=D1)*(C1:C9=E1),0))


'This is an array formula which must be entered with CTRL+Shift+Enter and NOT
'just enter. If you do it correctly then Excel will put curly brackets around
'the formula{}. You can't type these yourself. If you Edit the ranges
'then you must re-enter as An array

Mike

"HammerD" wrote:

I want to capture info from col C when values I enter equal values listed in
col A and col B (example - I enter 2.000 and 20-25 and it returns 1.550).

I have data as follows:

1.500 5-10 .896
1.500 15-20 .875
1.500 20-25 .866
2.000 15-20 1.750
2.000 20-25 1.550
3.500 15-20 2.420
3.500 20-25 2.300
3.500 25-30 2.260
3.500 35-40 2.140

Any suggestions? Thanks in advance.

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 many times is a name listed sabegirl Excel Discussion (Misc queries) 4 June 18th 06 08:42 AM
How can I sort multiple times Sorting data Excel Worksheet Functions 2 February 9th 06 05:22 PM
sorting multiple minimum times the swimmer Excel Discussion (Misc queries) 2 December 23rd 05 02:32 AM
Delete rows listed less than 8 times??? anilos81 Excel Worksheet Functions 10 November 10th 05 04:29 PM
How do I add multiple times together Playhouse pm Excel Discussion (Misc queries) 1 May 12th 05 12:34 AM


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