ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Decimal Time Subtractions (https://www.excelbanter.com/excel-worksheet-functions/190246-decimal-time-subtractions.html)

Steved

Decimal Time Subtractions
 
Hello from Steved

Wanting total minutes only please.

=DOLLARFR(DOLLARDE(S87,60)-DOLLARDE(K87,60),60)

I have Analysis ToolPak as an Add In

Here's my issue
In Cell K87 I have 11.50 and in Cell S87 I have 1.00 it returns "-10.5"
It should return "70"

Yes I should have done as in 11:50am and 1:00pm and formated it as [H]:M

Thankyou.





Stefi

Decimal Time Subtractions
 
Try this:
=TIME(INT(S87)+12,MOD(S87,1)*100,0)-TIME(INT(K87),MOD(K87,1)*100,0)
and format the result cell as [m]

Regards,
Stefi


€˛Steved€¯ ezt Ć*rta:

Hello from Steved

Wanting total minutes only please.

=DOLLARFR(DOLLARDE(S87,60)-DOLLARDE(K87,60),60)

I have Analysis ToolPak as an Add In

Here's my issue
In Cell K87 I have 11.50 and in Cell S87 I have 1.00 it returns "-10.5"
It should return "70"

Yes I should have done as in 11:50am and 1:00pm and formated it as [H]:M

Thankyou.





Steved

Decimal Time Subtractions
 
Thankyou

"Stefi" wrote:

Try this:
=TIME(INT(S87)+12,MOD(S87,1)*100,0)-TIME(INT(K87),MOD(K87,1)*100,0)
and format the result cell as [m]

Regards,
Stefi


€˛Steved€¯ ezt Ć*rta:

Hello from Steved

Wanting total minutes only please.

=DOLLARFR(DOLLARDE(S87,60)-DOLLARDE(K87,60),60)

I have Analysis ToolPak as an Add In

Here's my issue
In Cell K87 I have 11.50 and in Cell S87 I have 1.00 it returns "-10.5"
It should return "70"

Yes I should have done as in 11:50am and 1:00pm and formated it as [H]:M

Thankyou.





Stefi

Decimal Time Subtractions
 
You are welcome! Thanks for the feedback!
Stefi

€˛Steved€¯ ezt Ć*rta:

Thankyou

"Stefi" wrote:

Try this:
=TIME(INT(S87)+12,MOD(S87,1)*100,0)-TIME(INT(K87),MOD(K87,1)*100,0)
and format the result cell as [m]

Regards,
Stefi


€˛Steved€¯ ezt Ć*rta:

Hello from Steved

Wanting total minutes only please.

=DOLLARFR(DOLLARDE(S87,60)-DOLLARDE(K87,60),60)

I have Analysis ToolPak as an Add In

Here's my issue
In Cell K87 I have 11.50 and in Cell S87 I have 1.00 it returns "-10.5"
It should return "70"

Yes I should have done as in 11:50am and 1:00pm and formated it as [H]:M

Thankyou.






All times are GMT +1. The time now is 09:31 PM.

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