testing a cell for a date value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Is there a way I can test the contents of a cell to see if it is a date?

Thanks.
 
Hi!

You can use this:

=ISNUMBER(A1)

Dates are really just formatted numbers. So, a cell that contains a number
will also evaluate the same as a date entry:

7/15/2006
10

Using ISNUMBER, both will evaluate to TRUE. (provided that the DATE entry is
a real Excal date and not TEXT)

Biff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top