ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   help with Blank Dates in a Range (https://www.excelbanter.com/excel-worksheet-functions/147251-help-blank-dates-range.html)

Jerry Rogers

help with Blank Dates in a Range
 
Hi...I need your help.
I have a range of cells formatted as date cells that I want to return the
most recent date from the range. If all the cells in the range are blank I
want to return a blank cell or a text entry like "None". I found the "MAX"
function to get the most recent date but I can't find a function to return
None if all the cells in the range are empty.

Any Ideas?

Thanks,

--
Jerry

Teethless mama

help with Blank Dates in a Range
 
=IF(COUNT(A:A),MAX(A:A),"")

Format cell as Date


"Jerry Rogers" wrote:

Hi...I need your help.
I have a range of cells formatted as date cells that I want to return the
most recent date from the range. If all the cells in the range are blank I
want to return a blank cell or a text entry like "None". I found the "MAX"
function to get the most recent date but I can't find a function to return
None if all the cells in the range are empty.

Any Ideas?

Thanks,

--
Jerry



All times are GMT +1. The time now is 09:38 AM.

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