Finding Last Date

Dummy Excel

Well-known Member
Joined
Sep 21, 2005
Messages
1,004
Office Version
  1. 2019
  2. 2010
  3. 2007
Platform
  1. Windows
Hi All,
i have 2 columns;
COlumn A is the asset number. The asset number comes up multiple times as we need to do maintenance on our assets
Column B is the date the asset number had its last maintenance completed

if there a formula i can use to highlight to show the last date for that asset number?

thanks
Sam
 

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.
By last I assume you mean the latest date. You can try an array formula like this:

=MAX(IF(A$2:A$100=D2,B$2:B$100))

confirmed with CTRL+SHIFT+ENTER

where D2 contains a specific asset number
 
Upvote 0
If you are talking about conditional formatting, try applying the following CF rule to range, say, B1:B1000

=AND($B1<>"",$B1=MAX(IF($A$1:$A$1000=$A1,$B$1:$B$1000)))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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