Daviiiiiiddd

New Member
Joined
Mar 21, 2013
Messages
1
I'm having a problem with the index-match formula. I have two sheets: one with dates and address and another with dates address and results. I need to make a formula to grab the results from the second sheet based on the MOST RECENT DATE.

=INDEX(test3!C:C,MATCH(test2!B1,test3!B:B,0))

2013-03-141566 Newport"Index-Match Formula Here"
2013-03-141546 Pinnacle"Index-Match Formula Here"
2013-03-14256 Dawn"Index-Match Formula Here"
2013-03-14498 Savannah"Index-Match Formula Here"

<tbody>
</tbody>

I am using the following results and I need the most recent date result:

2013-03-141566 NewportWin
2013-03-81546 PinnacleWin
2013-03-10256 DawnPostponed
2013-03-14256 DawnWin

<tbody>
</tbody>

I am currently using:

=INDEX(test3!C:C,MATCH(test2!B1,test3!B:B,0))

And it is NOT returning the the result for the latest date. For example: 256 Dawn shows, "Postponed" and not "win", for some reason, my formula is returning the postponed and not the win (I think because I didn't tell it to factor in the date). Can somebody please help me with this?????????????
 
Last edited:

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
index match picks up first one that us first "dawn"for the date 2013-03-10

sort test 3 accorindg to cilumn A newest to oldest the formula will give you what you want.



test3

*ABC
13/14/20131566 NewportWin
23/14/2013256 DawnWin
33/10/2013256 DawnPostponed
43/8/20131546 PinnacleWin

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:132px;"><col style="width:131px;"><col style="width:127px;"></colgroup><tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0
Welcome to the MrExcel board!

Excel Workbook
ABC
1DateAddressResult
214/03/131566 NewportWin
38/03/131546 PinnacleWin
410/03/13256 DawnPostponed
514/03/13256 DawnWin
6
test3



The formulas in C2:D2 are copied down.
These are array formulas so should be entered without the {} but confirmed with Ctrl+Shift+Enter, not just Enter. If confirmed correctly, Excel will insert the {}. The formulas can then be copied down.
You could use either formula format but although my column D formula is somewhat longer than my column C formula, if you can restrict the number of rows being calculated as I have in the column D formula it will calculate much faster.
For example (I'm using Excel 2010) my 4 formulas in column C take over 200 times as long to calculate as my 4 formulas in column D.


Excel Workbook
ABCD
1DateAddressLatest ResultLatest Result
214/03/131566 NewportWinWin
314/03/131546 PinnacleWinWin
414/03/13256 DawnWinWin
514/03/13498 Savannah
Results
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,427
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top