Find MAX value in a UNIQUE(FILTER column

ollyhughes1982

Well-known Member
Joined
Nov 27, 2018
Messages
801
Office Version
  1. 365
Platform
  1. MacOS
Hi,

I have a UNIQUE(FILTER list of date values in a column (B), and was wondering how to find the latest date in this column? See images, below:

Screenshot 2022-07-28 at 16.52.49.png
Screenshot 2022-07-28 at 16.58.10.png


In a normally populated column, I would just use something like below:

=MAX(B4:B2003)
or
=MAX('All Completed Runs - GHD'!B4:B2003) if referencing from another worksheet

However, this doesn't work and gives me '01/01/1900'. I am expecting the result '13/05/2017', as that's the latest date in the list. Is there a way to use the MAX function on a column that's being populated by a UNIQUE(FILTER function?

Thanks in advance!

Olly.
 
How about
Excel Formula:
=MAX(B4#)
 
Upvote 0
Solution
That would suggest that those dates are text & not real dates.
 
Upvote 0
Change the format to general & what do you see?
 
Upvote 0
In that case they are text, you will need to convert them.
 
Upvote 0
In that case they are text, you will need to convert them.
The column where the filter is is text? It shows it set correctly though. Or the field in the source worksheet? I've checked the source and that's also set as date.
Screenshot 2022-07-28 at 18.17.17.jpg
 
Upvote 0
The cell format is irrelevant, it does not change the underlying value.
You need to convert those values into dates at the source.
 
Upvote 0

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