View Single Post
  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gord Dibben Gord Dibben is offline
external usenet poster
 
Posts: 22,906
Default Why is E3=4 FALSE?

Just trying to point out that 4:45 is not greater than 4

It could solve your problem if you grasped that concept.

Chip's site explains how Excel's date serials can be used to calculate.


Gord

On Mon, 12 Nov 2007 13:45:02 -0800, johnthebaptist
wrote:

Thanks, Gord Dibben, but I don't see how this info solves my problem.

"Gord Dibben" wrote:

4:45 as a number is 0.197916667 if AM

0.697916667 if PM

For more on Excel's use of date/time serial numbers see Chip Pearson's site.

http://www.cpearson.com/excel/datetime.htm#SerialDates


Gord Dibben MS Excel MVP

On Sun, 11 Nov 2007 10:00:00 -0800, johnthebaptist
wrote:

Excel tells me that E3=4 is FALSE, where E3=4:45, a time format, and
formatting should be ignored.

The whole formula I'm trying to work out is: =IF(E3=4,"DONE",(4-D3)).
Excel accepts this but reads 4 as 24 and returns 19:15 for (4-D3).

OK, so (E3=4) is FALSE if 4=24, but why does Excel read 4 as 24? And how
do I get Excel to read 4 as 4:00 and return the difference between 4:00 and,
say, 3:27?