ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Help Pls... (https://www.excelbanter.com/excel-discussion-misc-queries/116622-help-pls.html)

Nad

Help Pls...
 
Hi Everybody,

Using IF() function, how can i check whether a cell contains Date value or
not.

Ex.( if A1 is equal to date then 'OK' else 'Pls enter date')

Regards

Max

Help Pls...
 
Inspired by a previous Dave Peterson post ...

Try in B1:
=IF(A1="","",IF(LEFT(CELL("format",A1),1)="D","OK" ,"Pls enter date"))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Nad" wrote:
Hi Everybody,

Using IF() function, how can i check whether a cell contains Date value or
not.

Ex.( if A1 is equal to date then 'OK' else 'Pls enter date')

Regards



All times are GMT +1. The time now is 05:58 PM.

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