Formula that matches multple criteria and pulls latest date value

Jamidd1

New Member
Joined
Feb 10, 2016
Messages
14
Hi Mr Excel,

I am currently looking for a formula that index matches multiple criteria (For example; Name & Course Name) & also looks for the latest date & returns the latest grade.
Please see example attached below. I tried to make up an example on here but I am having a bit of trouble with this text box.

Link to example - https://drive.google.com/file/d/1RldSdI-ageGpJG8G8nKt83KhmzfBOr2n/view?usp=sharing

Thanks in advance: Jamidd1
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
I found a way using a helper cell. I hope this works for you:

Excel Workbook
FGH
2Match Criteria 1John
3Match Criteria 25930
4
5Result Desired
67/18/2019EL3
Sheet1
 
Upvote 0
I found a way using a helper cell. I hope this works for you:

Sheet1

FGH
John
EL3

<colgroup><col style="width: 30px; font-weight: bold;"><col style="width: 70.4px;"><col style="width: 70.4px;"><col style="width: 70.4px;"></colgroup><tbody>
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=CACACA]#CACACA[/URL] , align: center"]2[/TD]

[TD="bgcolor: #FFFFCC"]Match Criteria 1[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=CACACA]#CACACA[/URL] , align: center"]3[/TD]

[TD="bgcolor: #CCCCFF"]Match Criteria 2[/TD]
[TD="align: right"]5930[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=CACACA]#CACACA[/URL] , align: center"]4[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=CACACA]#CACACA[/URL] , align: center"]5[/TD]

[TD="bgcolor: #99CC00"]Result Desired[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=CACACA]#CACACA[/URL] , align: center"]6[/TD]
[TD="align: right"]7/18/2019[/TD]

</tbody>

Spreadsheet Formulas
CellFormula
F6{=MAX(IF($A$2:$A$15=$H$2,IF($B$2:$B$15=$H$3,$D$2:$D$15,"")))}
G6=IFERROR(INDEX(E2:E15,MATCH(F6,D2:D15,0)),"")

<tbody>
</tbody>
Formula Array:
Produce enclosing
{ } by entering
formula with CTRL+SHIFT+ENTER!

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4

Thanks for you help. I have had a play with this today and it does not seem to work as it just pulls the first grade that matches that date. I need to somehow adapt that formula to to index match the name date & course code.
 
Upvote 0

Forum statistics

Threads
1,223,957
Messages
6,175,622
Members
452,661
Latest member
Nonhle

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