ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   I didn't get it (https://www.excelbanter.com/excel-discussion-misc-queries/14257-i-didnt-get.html)

Sunny

I didn't get it
 
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

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

-----Original Message-----
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
.


Bob Phillips

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

--

HTH

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


"Sunny" wrote in message
...
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




Harald Staff

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


(40 is 40 days, not 40 hours.)

HTH. Best wishes Harald

"Sunny" skrev i melding
...
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




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?


"Biff" wrote:

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

-----Original Message-----
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
.



Myrna Larson

With that data I get 24:11. You must have a typo somewhere.


On Mon, 21 Feb 2005 19:45:03 -0800, "Sunny"
wrote:

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?


"Biff" wrote:

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

-----Original Message-----
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
.




Sunny

I don't have any typo

"Myrna Larson" wrote:

With that data I get 24:11. You must have a typo somewhere.


On Mon, 21 Feb 2005 19:45:03 -0800, "Sunny"
wrote:

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?


"Biff" wrote:

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

-----Original Message-----
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
.





Myrna Larson

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

On Mon, 21 Feb 2005 21:52:29 -0600, Myrna Larson
wrote:

With that data I get 24:11. You must have a typo somewhere.


On Mon, 21 Feb 2005 19:45:03 -0800, "Sunny"
wrote:

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?


"Biff" wrote:

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

-----Original Message-----
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
.




Sunny

I don't know bro
Can u do me a favor and send me excel file which work right way.
My e-mail is
Sincerely,

Sunny

"Myrna Larson" wrote:

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

On Mon, 21 Feb 2005 21:52:29 -0600, Myrna Larson
wrote:

With that data I get 24:11. You must have a typo somewhere.


On Mon, 21 Feb 2005 19:45:03 -0800, "Sunny"
wrote:

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?


"Biff" wrote:

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

-----Original Message-----
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
.






All times are GMT +1. The time now is 04:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com