ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Adding time over a 24 hour period (https://www.excelbanter.com/excel-discussion-misc-queries/98873-adding-time-over-24-hour-period.html)

Paige

Adding time over a 24 hour period
 
On my spreadsheet I am adding two cells.
Formula =E12-D12+IF(D12E12,1)
This should subtract 4/12/06 9:00AM to 4/13/06 16:00 (4:00PM)
As you can see this is over 24 hours but the answer is 7 hours, the same
answer I get when subtracting the same hours on the same day. What am I
doing wrong?
--
Thank you,

Paige

Bob Phillips

Adding time over a 24 hour period
 
Format the result cell as [h]:mm

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Paige" wrote in message
...
On my spreadsheet I am adding two cells.
Formula =E12-D12+IF(D12E12,1)
This should subtract 4/12/06 9:00AM to 4/13/06 16:00 (4:00PM)
As you can see this is over 24 hours but the answer is 7 hours, the same
answer I get when subtracting the same hours on the same day. What am I
doing wrong?
--
Thank you,

Paige




Paige

Adding time over a 24 hour period
 
You are the best!!!
--
Thank you,

Paige


"Bob Phillips" wrote:

Format the result cell as [h]:mm

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Paige" wrote in message
...
On my spreadsheet I am adding two cells.
Formula =E12-D12+IF(D12E12,1)
This should subtract 4/12/06 9:00AM to 4/13/06 16:00 (4:00PM)
As you can see this is over 24 hours but the answer is 7 hours, the same
answer I get when subtracting the same hours on the same day. What am I
doing wrong?
--
Thank you,

Paige






All times are GMT +1. The time now is 03:13 AM.

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