View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default Looking for help with If statement

Please try this will return FALSE if valid date..
=ISERROR(DATE(YEAR(A1),MONTH(A1),DAY(A1)))

If this post helps click Yes
---------------
Jacob Skaria


"Ayo" wrote:

Is there a function like the ISBLANK function for dates. I am trying to write
and IF statement formular that works like this:
If the value in A1 is a Date then perform calculation else leave blank.

What is the best way to do this.

Thanks