Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Find Exact Match using INDEX, MATCH

Excel 2007.
I have two worksheets named "Open 1st Go" & "Open 2nd Go". The first
worksheet contains Column A (Rider), Column B (Horse), Column C (1st Go
Time), Column D (2nd Go Time), and Column E (Average Time). The second
worksheet contains Column A (Rider), Column B (Horse), and Column C (2nd Go
Time).

I need to match the rider/horse from the 1st go sheet exactly to the
rider/horse on the 2nd go worksheet (as some riders ride more than one horse
and therefore would have a different time) and bring back their 2nd go time
into Column D. This is the formula that I used, but it only matches the
rider, not the combination of rider/horse, and brings back only the one time
not distinguishing between different horse names.

=INDEX('OPEN 2ND GO'!$A$1:$C$34, MATCH(A2,'OPEN 2ND GO'!$A$1:$A$34,),
MATCH("TIME",'OPEN 2ND GO'!$A$1:$C$1,))
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 915
Default Find Exact Match using INDEX, MATCH

DoubleUU wrote:
Excel 2007.
I have two worksheets named "Open 1st Go" & "Open 2nd Go". The first
worksheet contains Column A (Rider), Column B (Horse), Column C (1st Go
Time), Column D (2nd Go Time), and Column E (Average Time). The second
worksheet contains Column A (Rider), Column B (Horse), and Column C (2nd Go
Time).

I need to match the rider/horse from the 1st go sheet exactly to the
rider/horse on the 2nd go worksheet (as some riders ride more than one horse
and therefore would have a different time) and bring back their 2nd go time
into Column D. This is the formula that I used, but it only matches the
rider, not the combination of rider/horse, and brings back only the one time
not distinguishing between different horse names.

=INDEX('OPEN 2ND GO'!$A$1:$C$34, MATCH(A2,'OPEN 2ND GO'!$A$1:$A$34,),
MATCH("TIME",'OPEN 2ND GO'!$A$1:$C$1,))


Here's one way. This is an array formula (complete by pressing Ctrl +
Shift + Enter):

=INDEX('Open 2nd Go'!$A$1:$C$34,MATCH(1,('Open 1st Go'!A2='Open 2nd
Go'!$A$1:$A$34)*('Open 1st Go'!B2='Open 2nd Go'!$B$1:$B$34),0),3)


Here's another way. It's not an array formula, and I find a little
easier to follow. This assumes there are no duplicate horse+rider
combinations on 'Open 2nd Go':

=SUMPRODUCT(--('Open 1st Go'!A5='Open 2nd Go'!$A$1:$A$34),--('Open 1st
Go'!B5='Open 2nd Go'!$B$1:$B$34),('Open 2nd Go'!$C$1:$C$34))
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 915
Default Find Exact Match using INDEX, MATCH

smartin wrote:
DoubleUU wrote:
Excel 2007. I have two worksheets named "Open 1st Go" & "Open 2nd Go".
The first worksheet contains Column A (Rider), Column B (Horse),
Column C (1st Go Time), Column D (2nd Go Time), and Column E (Average
Time). The second worksheet contains Column A (Rider), Column B
(Horse), and Column C (2nd Go Time).
I need to match the rider/horse from the 1st go sheet exactly to the
rider/horse on the 2nd go worksheet (as some riders ride more than one
horse and therefore would have a different time) and bring back their
2nd go time into Column D. This is the formula that I used, but it
only matches the rider, not the combination of rider/horse, and brings
back only the one time not distinguishing between different horse names.

=INDEX('OPEN 2ND GO'!$A$1:$C$34, MATCH(A2,'OPEN 2ND GO'!$A$1:$A$34,),
MATCH("TIME",'OPEN 2ND GO'!$A$1:$C$1,))


Here's one way. This is an array formula (complete by pressing Ctrl +
Shift + Enter):

=INDEX('Open 2nd Go'!$A$1:$C$34,MATCH(1,('Open 1st Go'!A2='Open 2nd
Go'!$A$1:$A$34)*('Open 1st Go'!B2='Open 2nd Go'!$B$1:$B$34),0),3)


Here's another way. It's not an array formula, and I find a little
easier to follow. This assumes there are no duplicate horse+rider
combinations on 'Open 2nd Go':


Oops, that second formula should have been as follows for cell D2:

=SUMPRODUCT(--('Open 1st Go'!A2='Open 2nd Go'!$A$1:$A$34),--('Open 1st
Go'!B2='Open 2nd Go'!$B$1:$B$34),('Open 2nd Go'!$C$1:$C$34))
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Find Exact Match using INDEX, MATCH

You are a life saver! Thank you so much for taking the time to help me - I
struggled for weeks on this formula!

"smartin" wrote:

smartin wrote:
DoubleUU wrote:
Excel 2007. I have two worksheets named "Open 1st Go" & "Open 2nd Go".
The first worksheet contains Column A (Rider), Column B (Horse),
Column C (1st Go Time), Column D (2nd Go Time), and Column E (Average
Time). The second worksheet contains Column A (Rider), Column B
(Horse), and Column C (2nd Go Time).
I need to match the rider/horse from the 1st go sheet exactly to the
rider/horse on the 2nd go worksheet (as some riders ride more than one
horse and therefore would have a different time) and bring back their
2nd go time into Column D. This is the formula that I used, but it
only matches the rider, not the combination of rider/horse, and brings
back only the one time not distinguishing between different horse names.

=INDEX('OPEN 2ND GO'!$A$1:$C$34, MATCH(A2,'OPEN 2ND GO'!$A$1:$A$34,),
MATCH("TIME",'OPEN 2ND GO'!$A$1:$C$1,))


Here's one way. This is an array formula (complete by pressing Ctrl +
Shift + Enter):

=INDEX('Open 2nd Go'!$A$1:$C$34,MATCH(1,('Open 1st Go'!A2='Open 2nd
Go'!$A$1:$A$34)*('Open 1st Go'!B2='Open 2nd Go'!$B$1:$B$34),0),3)


Here's another way. It's not an array formula, and I find a little
easier to follow. This assumes there are no duplicate horse+rider
combinations on 'Open 2nd Go':


Oops, that second formula should have been as follows for cell D2:

=SUMPRODUCT(--('Open 1st Go'!A2='Open 2nd Go'!$A$1:$A$34),--('Open 1st
Go'!B2='Open 2nd Go'!$B$1:$B$34),('Open 2nd Go'!$C$1:$C$34))

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
DSUM Criteria - find exact match only Sandy Excel Worksheet Functions 1 July 7th 08 11:35 PM
Find exact match, same workbook, different sheets dmshurley Excel Discussion (Misc queries) 2 September 19th 07 03:02 AM
Find a not exact match using vlookup Russ B Excel Discussion (Misc queries) 1 July 27th 05 08:49 PM
using vlookup to find exact match Janice Lee via OfficeKB.com Excel Discussion (Misc queries) 3 March 25th 05 03:03 AM
Find a match that;s not exact Phyllis Excel Worksheet Functions 0 November 8th 04 09:12 PM


All times are GMT +1. The time now is 10:33 PM.

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"