Formula to select the earliest date

exalex

New Member
Joined
Nov 1, 2017
Messages
24

Person
DateAmount
Jim2/21/201915
Jim1/1/201885
Jim4/6/201811
Andy6/1/201923
Andy4/1/201815

<tbody>
</tbody><colgroup><col><col><col></colgroup>


I want a formula to pull the earliest date and amount for that per person:

Output: need formula for below Date and amount.
PersonDateAmount
Jim1/1/201885
Andy4/1/201815

<tbody>
</tbody><colgroup><col><col><col></colgroup>
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Book1
ABC
1PersonDateAmount
2Jim2/21/201915
3Jim1/1/201885
4Jim4/6/201811
5Andy6/1/201923
6Andy4/1/201815
7
8
9PersonDateAmount
10Jim1/1/201885
11Andy4/1/201815
Sheet1


In B10 control+shift+enter, not just enter, and copy down:

=MIN(IF($A$2:$A$6=A10,$B$2:$B$6))

In C10 control+shift+enter, not just enter, and copy down:

=INDEX($C$2:$C$6,MATCH(A10,IF($B$2:$B$6=B10,$A$2:$A$6),0))
 
Upvote 0
For some reason it is not working. any idea what the issue could be? Why control+shift+enter?
 
Upvote 0
For some reason it is not working. any idea what the issue could be? Why control+shift+enter?

Because these are array-processing formulas...

Control+shift+enter: Press down the control and the shift keys while you hit the enter key. If done successfully, Excel itself puts a pair of { and } around the formula in recognition.
 
Upvote 0

Forum statistics

Threads
1,214,386
Messages
6,119,214
Members
448,874
Latest member
b1step2far

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