I didn't get it

S

Sunny

What is wrong with this formula =IF(C5 <= 40, "ok", "not")

c5 = 65:00 (65 hours 00 minutes) but it is still showing me ok
 
B

Biff

Hi!

65:00 is a formatted value.

Temporarily change the format to GENERAL and see what you
get!

=IF(C5<40/24,"OK","NOT")

Biff
 
B

Bob Phillips

=IF(C5 <= TIME(40,0,0), "ok", "not")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
H

Harald Staff

Another:
=IF(C5 <= 40/24, "ok", "not")


(40 is 40 days, not 40 hours.)

HTH. Best wishes Harald
 
S

Sunny

I already figure out this problem but anyway thank u
I got another question
d2= 8:00 hours, d3= 7:00, d4 = 9:11 hours

d6 (cell format number) = =SUM(D2:D4)*24 ( this formula suppose to add all
the hours from d2 to d3) but instead of getting 24:11 hours I am getting 24:18

How I can figure out that?
 
M

Myrna Larson

Then why do you get the "wrong answer"? The data you included in youir message
totals 24:11.
 
Top