Excel Date values are stored as a decimal number, The whole number for
the day & the decimal part for the time.
So =INT(B1) > INT(A1)
As the date values are stored as real (or irrational) numbers you
should never use equates in any comparison, always "greater than" or
"less than"...
The display format is either the default, or what you define in cell
format. Dates entered in the standard format for the area are usually
converted to an Excel date value.
One way to determine if you have a "real date" (aka date serial
number) is put the formula =TYPE(A1) in an unused cell, where A1
contains a date. TYPE(A1) should return 1.
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.