Color code on oldest date

aayaanmayank

Board Regular
Joined
Jul 20, 2018
Messages
157
Hi Can someone help me with below data. i need to color code whichever is oldest date for particular ID.

IDCreation Date
78339346410/11/2005
78339346403/03/2017
74497687412/29/2004
74497687412/30/2016
74748555703/23/2007
74748555710/02/2012
74938787807/04/2008
74938787806/17/2014

<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
=MIN(IF(A1=A$1:A$8,B$1:B$8))
Array formula, use Ctrl-Shift-Enter

produces the oldes date per ID.

Select the entire range (both ID and dates)

Conditional Formatting
New Rule
Use a formula to determine...

=($B1=MIN(IF($A1=$A$1:$A$8,$B$1:$B$8)))

Format as required
 
Upvote 0
Hi Can someone help me with below data. i need to color code whichever is oldest date for particular ID.
If your sample data is representative (oldest date is the first row for each ID) then you could use this much simpler Conditional Formatting formula after selecting A2:Bxx

Excel Workbook
AB
1IDCreation Date
278339346411/10/2005
37833934643/03/2017
474497687429/12/2004
574497687430/12/2016
674748555723/03/2007
77474855572/10/2012
87493878784/07/2008
974938787817/06/2014
Oldest Date (2)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A21. / Formula is =$A2<>$A1Abc
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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