ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   conditional format -- if not a date, then highlight cell (https://www.excelbanter.com/excel-programming/436439-conditional-format-if-not-date-then-highlight-cell.html)

laavista

conditional format -- if not a date, then highlight cell
 
How do I enter a conditional format to highlight the cell if it's not a valid
date?

I tried "formula is":

=if(not isdate(C10))
<if(isdate(C10))

Your help would be greatly appreciated!!

Barb Reinhardt

conditional format -- if not a date, then highlight cell
 
I think I'd put some data validation on the field to ensure that it's a date
as well.
--
HTH,

Barb Reinhardt



"laavista" wrote:

How do I enter a conditional format to highlight the cell if it's not a valid
date?

I tried "formula is":

=if(not isdate(C10))
<if(isdate(C10))

Your help would be greatly appreciated!!



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

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