Date Formula Query

Quinton

Board Regular
Joined
Nov 6, 2008
Messages
125
Hello I have a range of dates and basically want to show the latest date:

Example data as below:

01/01/09
01/09/09
01/01/09
01/09/11
01/08/11

Result would be 01/08/11

Many thanks
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Many thanks. I put the following formula in:

=LOOKUP(9000000000+308,B4:B17)

However it gave me the Earliest date and not the last date?

Have I done something wrong?

Many thanks again
 
Upvote 0
Whoops just realised that my 1st post was wrong.

The result date should have been 01/09/11 - If this helps
 
Upvote 0
That formula was a typo which I corrected. But what you need is

Excel Workbook
AB
101/01/200901/09/2011
201/09/2009
301/01/2009
401/09/2011
501/08/2011
Sheet1
 
Upvote 0
Perfect mant thanks (ps how easy sorry!).

Sorry but I have 1 further problem - as follows):

Within the range of dates I have some fixed dates of 20-02-20. I would like the formula to exclude these dates. So the formula would be like this:

=MAX(G20:G31) - but to also exclude any date that is 20-02-20.

Many thanks again in advance!
 
Upvote 0
You can exclude those with an "array formula" e.g.

=MAX(IF(G20:G31<>DATE(2020,2,20),G20:G31))

formula needs to be confirmed with CTRL+SHIFT+ENTER so that curly braces like { and } appear around the formula in the formula bar
 
Upvote 0
Try this array formula confirmed with CTRL + Shift + Enter

=MAX(IF(G20:G32<>DATE(2020,2,20),G20:G32))
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,848
Members
452,948
Latest member
UsmanAli786

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