Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 113
Default Index Match 2 columns 1 row

I am sure this is out there somewhere...I just can't find it.

A B C D E
Cage Box Kennel
Dog 2008 5 6 7
Cat 2008 4 3 2
Fish 2008 8 9 1

I need to find the number 3:
Cat, 2008, Box=3

How do I get it with Index & Match?
Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Index Match 2 columns 1 row

Try this:

A10 = cat
B10 = 2008
C10 = box

=SUMPRODUCT(--(A2:A4=A10),--(B2:B4=B10),INDEX(C2:E4,,MATCH(C10,C1:E1,0)))

--
Biff
Microsoft Excel MVP


"deeds" wrote in message
...
I am sure this is out there somewhere...I just can't find it.

A B C D E
Cage Box Kennel
Dog 2008 5 6 7
Cat 2008 4 3 2
Fish 2008 8 9 1

I need to find the number 3:
Cat, 2008, Box=3

How do I get it with Index & Match?
Thanks in advance



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Index Match 2 columns 1 row

How do I get it with Index & Match?

One way using the above ..

Your table is assumed in A1:E4

Inputs in
A10 = cat
B10 = 2008
C10 = box

In D10, array-entered, ie press CTRL+SHIFT+ENTER to confirm the formula,
instead of just pressing ENTER:
=INDEX(C2:E4,MATCH(1,(A10=A2:A4)*(B10=B2:B4),0),MA TCH(C10,C1:E1,0))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,500 Files:358 Subscribers:55
xdemechanik
---
"deeds" wrote:
I am sure this is out there somewhere...I just can't find it.

A B C D E
Cage Box Kennel
Dog 2008 5 6 7
Cat 2008 4 3 2
Fish 2008 8 9 1

I need to find the number 3:
Cat, 2008, Box=3


How do I get it with Index & Match?


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
index(match) Wind Uplift Calculations (match four conditions) JMeier Excel Worksheet Functions 8 August 1st 08 01:45 AM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Index Match for 2 columns and one Row [email protected] Excel Worksheet Functions 11 September 28th 06 07:50 PM
Index Match Two columns Find Last Bottom henryriver1 Excel Worksheet Functions 4 May 26th 06 04:49 PM
Index/Match from multiple columns hgopp99 Excel Worksheet Functions 5 January 21st 06 06:13 PM


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