+ Reply to Thread
Results 1 to 4 of 4

testing a cell for a date value

  1. #1
    Karen53
    Guest

    testing a cell for a date value

    Hi,

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

    Thanks.

  2. #2
    Biff
    Guest

    Re: testing a cell for a date value

    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

    "Karen53" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Is there a way I can test the contents of a cell to see if it is a date?
    >
    > Thanks.




  3. #3
    Karen53
    Guest

    Re: testing a cell for a date value

    thanks, Biff. The answer you gave me the other day helped a lot too.

    "Biff" wrote:

    > 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
    >
    > "Karen53" <[email protected]> wrote in message
    > news:[email protected]...
    > > Hi,
    > >
    > > Is there a way I can test the contents of a cell to see if it is a date?
    > >
    > > Thanks.

    >
    >
    >


  4. #4
    Biff
    Guest

    Re: testing a cell for a date value

    You're welcome. Thanks for the feedback!

    Biff

    "Karen53" <[email protected]> wrote in message
    news:[email protected]...
    > thanks, Biff. The answer you gave me the other day helped a lot too.
    >
    > "Biff" wrote:
    >
    >> 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
    >>
    >> "Karen53" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > Hi,
    >> >
    >> > Is there a way I can test the contents of a cell to see if it is a
    >> > date?
    >> >
    >> > Thanks.

    >>
    >>
    >>




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1