#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Time subtraction

I need to have a formula that will show how much battery run time I left.
A1 is Battery run time = 40.5 hours
B1 is time batteries started = 12:55 AM
C1 is time on batteries, =NOW()-B2
D2 will be the battery run time left.

I have tried formatting in several different modes, always coming up wrong.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Time subtraction

Try C1: =MOD(NOW(),1)-B1

you don't need D2 then

--
__________________________________
HTH

Bob

"Dgwood90" wrote in message
...
I need to have a formula that will show how much battery run time I left.
A1 is Battery run time = 40.5 hours
B1 is time batteries started = 12:55 AM
C1 is time on batteries, =NOW()-B2
D2 will be the battery run time left.

I have tried formatting in several different modes, always coming up
wrong.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Time subtraction

=A1/24-C1
For C1 to give you the time on batteries, B2 will need to be a date and
time, so that you can subtract it from NOW()
--
David Biddulph

"Dgwood90" wrote in message
...
I need to have a formula that will show how much battery run time I left.
A1 is Battery run time = 40.5 hours
B1 is time batteries started = 12:55 AM
C1 is time on batteries, =NOW()-B2
D2 will be the battery run time left.

I have tried formatting in several different modes, always coming up
wrong.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Time subtraction



"David Biddulph" wrote:

=A1/24-C1
For C1 to give you the time on batteries, B2 will need to be a date and
time, so that you can subtract it from NOW()
--
David Biddulph

"Dgwood90" wrote in message
...
I need to have a formula that will show how much battery run time I left.
A1 is Battery run time = 40.5 hours
B1 is time batteries started = 12:55 AM
C1 is time on batteries, =NOW()-B2
D2 will be the battery run time left.

I have tried formatting in several different modes, always coming up
wrong.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trade Time Help Automatic Subtraction Mcfarlandb Excel Discussion (Misc queries) 0 April 25th 07 09:16 PM
subtraction off time after midnight Steved Excel Worksheet Functions 2 May 24th 06 01:46 AM
time subtraction problem Excel Worksheet Functions 6 July 15th 05 06:57 PM
subtraction with time format cells Stefano Excel Worksheet Functions 2 March 17th 05 03:06 PM
decimal time subtraction please. Steved Excel Worksheet Functions 6 November 25th 04 01:07 AM


All times are GMT +1. The time now is 08:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"