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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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,223,896
Messages
6,175,265
Members
452,627
Latest member
KitkatToby

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