ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Min/Max formulas using cells with date format (https://www.excelbanter.com/excel-worksheet-functions/11934-min-max-formulas-using-cells-date-format.html)

WDS2000

Min/Max formulas using cells with date format
 
Using a min or max formula for a range of cells that have a date format. For
example, while in F4, i create the following formula =MIN(F5:F9). If all of
the cells in the range are null, the result is 00-Jan-1900. This date
appears to be the cell default value if nothing is entered.

Is it possible to exclude null cells in the formula?

Thanks
Will

JE McGimpsey

One way:

=IF(COUNT(F5:F9)=0,"",MIN(F5:F9))

In article ,
"WDS2000" wrote:

Using a min or max formula for a range of cells that have a date format. For
example, while in F4, i create the following formula =MIN(F5:F9). If all of
the cells in the range are null, the result is 00-Jan-1900. This date
appears to be the cell default value if nothing is entered.

Is it possible to exclude null cells in the formula?

Thanks
Will



All times are GMT +1. The time now is 10:40 AM.

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