ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Seconds (https://www.excelbanter.com/excel-discussion-misc-queries/242535-seconds.html)

Pass-the-Reality

Seconds
 
I have a spreadsheet with two columns, Begin Time and End Time. The time
format is set to hh:mm:ss AM. I want to find the difference between the two
times, but in seconds. What formula would I write to subtract the times and
have the output response be total seconds?

Mike H

Seconds
 
Hi,

When you've done the subtraction format the cell with a custom format of [ss]

Mike

"Pass-the-Reality" wrote:

I have a spreadsheet with two columns, Begin Time and End Time. The time
format is set to hh:mm:ss AM. I want to find the difference between the two
times, but in seconds. What formula would I write to subtract the times and
have the output response be total seconds?


David Biddulph[_2_]

Seconds
 
.... or if you want a number in seconds, use =(B1-A1)*24*3600 and format as
Number or General, not as Time.
--
David Biddulph

"Mike H" wrote in message
...
Hi,

When you've done the subtraction format the cell with a custom format of
[ss]

Mike

"Pass-the-Reality" wrote:

I have a spreadsheet with two columns, Begin Time and End Time. The time
format is set to hh:mm:ss AM. I want to find the difference between the
two
times, but in seconds. What formula would I write to subtract the times
and
have the output response be total seconds?





All times are GMT +1. The time now is 11:18 PM.

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