#1   Report Post  
Posted to microsoft.public.excel.misc
Nad Nad is offline
external usenet poster
 
Posts: 20
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"