Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dewey
 
Posts: n/a
Default Excel time formula

Is there a formula that can calculate the difference between two hour/minute
entries, such as converting the time between 4:00 and 5:15 is 1:25.
--
Dewey
  #2   Report Post  
Kevin Lehrbass
 
Posts: n/a
Default Excel time formula

Hi Dewey,

If 4:00 pm is in cell A1 and 5:15 pm is in cell A2, then in cell A3 put =A2-A1
Also, in cell A3, you must go to Format Cells, number tab, custom and enter
"[h]:mm".

If you have any questions, don't hesitate to send me an email.

Have a great weekend,
--
Kevin Lehrbass
www.spreadsheetsolutions4u.com


"Dewey" wrote:

Is there a formula that can calculate the difference between two hour/minute
entries, such as converting the time between 4:00 and 5:15 is 1:25.
--
Dewey

  #3   Report Post  
Sam
 
Posts: n/a
Default Excel time formula

Just do one minus the other. Or if you want absolute differences use
the ABS function.
= ABS(A1-B1)
this avoids the #### for negative times

  #4   Report Post  
Dewey
 
Posts: n/a
Default Excel time formula

Good job, Kevin. I actually miss read the instructions and put A1 in front
of A2 and it didn't work (######.) Then I switched the elements on my own
and it worked. I was already to "blame" you, but something told me to reread
your instructions. And of course you were exactly right.

I appreciate it.
--
Dewey


"Kevin Lehrbass" wrote:

Hi Dewey,

If 4:00 pm is in cell A1 and 5:15 pm is in cell A2, then in cell A3 put =A2-A1
Also, in cell A3, you must go to Format Cells, number tab, custom and enter
"[h]:mm".

If you have any questions, don't hesitate to send me an email.

Have a great weekend,
--
Kevin Lehrbass
www.spreadsheetsolutions4u.com


"Dewey" wrote:

Is there a formula that can calculate the difference between two hour/minute
entries, such as converting the time between 4:00 and 5:15 is 1:25.
--
Dewey

  #5   Report Post  
Dewey
 
Posts: n/a
Default Excel time formula

Thanks, Sam. Hey, could you follow up on an additional point? This is for a
time sheet that has columns for the days of the week and rows for the total
times. You answered my question for one day, but I need to add the
accumulated time for the week and show it in the Total column. So, I get
that 1:00 - 3:00 (A2-A1) will get me the difference in the Total column as
2:00. But, that's for one day. How do I create modify the formula for all 7
days to show up in the Total column?
--
Dewey


"Sam" wrote:

Just do one minus the other. Or if you want absolute differences use
the ABS function.
= ABS(A1-B1)
this avoids the #### for negative times




  #6   Report Post  
Fred Smith
 
Posts: n/a
Default Excel time formula

Why not just sum the column? You can sum times just like you can any other
number.

--
Regards,
Fred


"Dewey" wrote in message
...
Thanks, Sam. Hey, could you follow up on an additional point? This is for a
time sheet that has columns for the days of the week and rows for the total
times. You answered my question for one day, but I need to add the
accumulated time for the week and show it in the Total column. So, I get
that 1:00 - 3:00 (A2-A1) will get me the difference in the Total column as
2:00. But, that's for one day. How do I create modify the formula for all 7
days to show up in the Total column?
--
Dewey


"Sam" wrote:

Just do one minus the other. Or if you want absolute differences use
the ABS function.
= ABS(A1-B1)
this avoids the #### for negative times




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
excel array formula gordo Excel Worksheet Functions 14 October 18th 05 05:19 PM
Imported Date & Time format with calcs. managed in excel from imrp Todd F. Excel Worksheet Functions 0 July 8th 05 09:03 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Unix Time in Excel Craig Walker Excel Worksheet Functions 2 March 21st 05 06:29 PM
How do I view the actual numeric value of a formula in Excel 2002. Excel Function Help Excel Worksheet Functions 0 January 13th 05 10:07 PM


All times are GMT +1. The time now is 12:43 PM.

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"