Identify most current date for records sharing common value??

Chrisfav89

New Member
Joined
Feb 28, 2017
Messages
10
Hello All,

I am wondering if there is a formula that will provide me which record contains the most current date out of all other records that share a common value.

See the table below. Can a formula tell me which line has the most current date out of all other lines that have the same Position number? Ideally it would give me a yes or no like below. Can conditional formatting be applied using this extent of logic?


Position
Position
Center
Distribution
Effective Date
Forumla?
10005
2500
50%
1/1/17
No
10005
1588
50%
1/1/17
No
10005
3500
100%
3/4/17
No
10005
1588
75%
5/1/17
YES
10005
3500
25%
5/1/17
YES
25500
2500
100%
1/1/17
No
25500
3500
100%
5/5/17
YES

<tbody>
</tbody>


Thanks for your help!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Try the following array formula (to be entered using Ctrl+Shift+Enter, not just Enter):

=IF(D2=MAX(IF($A$2:$A$8=A2,$D$2:$D$8)),"Yes","No")

For CF rule, try the following:

=D2=MAX(IF($A$2:$A$8=A2,$D$2:$D$8))
 
Upvote 0

Forum statistics

Threads
1,214,973
Messages
6,122,534
Members
449,088
Latest member
RandomExceller01

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