ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Minimum and maximum date lookup (https://www.excelbanter.com/excel-worksheet-functions/163688-minimum-maximum-date-lookup.html)

Michael Peace

Minimum and maximum date lookup
 
I want to make a cell display the earliest, and/or latest date in a list of
dates in a column. That way I can have a cell show the date range of a list
of dates from the earliest to the latest. I'm a rookie at Excel, I know just
enough to get me into trouble. Can anyone help me with this?

mr tom

Minimum and maximum date lookup
 
Let's say your range is A1 to A16

In the cell you want to display the minimum, put =MIN(A1:A16)
In the cell you want to display the maximum, put =MAX(A1:A16)

Whilst dates don't look as if they'll work, excel actually stores them as
code numbers and therefore a formula which will work on normal numbers should
do the job.

Hope this helps.

"Michael Peace" wrote:

I want to make a cell display the earliest, and/or latest date in a list of
dates in a column. That way I can have a cell show the date range of a list
of dates from the earliest to the latest. I'm a rookie at Excel, I know just
enough to get me into trouble. Can anyone help me with this?


Niek Otten

Minimum and maximum date lookup
 
=TEXT(MIN(A1:A29),"dd-mm-yyyy")&" - "&TEXT(MAX(A1:A29),"dd-mm-yyyy")

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Michael Peace" <Michael wrote in message
...
|I want to make a cell display the earliest, and/or latest date in a list of
| dates in a column. That way I can have a cell show the date range of a list
| of dates from the earliest to the latest. I'm a rookie at Excel, I know just
| enough to get me into trouble. Can anyone help me with this?



T. Valko

Minimum and maximum date lookup
 
Just use the MIN/MAX functions.

Earliest date:

=MIN(A1:A10)

Latest date:

=MAX(A1:A10)

--
Biff
Microsoft Excel MVP


"Michael Peace" <Michael wrote in message
...
I want to make a cell display the earliest, and/or latest date in a list of
dates in a column. That way I can have a cell show the date range of a
list
of dates from the earliest to the latest. I'm a rookie at Excel, I know
just
enough to get me into trouble. Can anyone help me with this?





All times are GMT +1. The time now is 02:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com