Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
godnight
 
Posts: n/a
Default Am trying to make a time sheet and having problems with a formula.

can't figure formula to calculate time accurately. Can anyone help

  #2   Report Post  
Ragdyer
 
Posts: n/a
Default

Start time in A1,
End time in B1,
Enter this formula in a cell formatted as "General" or "Number":
=(B1-A1+(B1<A1))*24*AND(A1<0,B1<0)


Both A1 and B1 must have times entered for this to work.


This will also work when the times span across midnight.
--


HTH,


RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



"godnight" wrote in message
...
can't figure formula to calculate time accurately. Can anyone help


  #3   Report Post  
stargaze
 
Posts: n/a
Default

OR; look up in the webside templates and rip the formulas there, but i have
another Q.: how do i set a pause time into the formula:
=if((or(G7="";E7=""));0;if((E7<E7);((G7-E7)*24)+24;(G7-E7)*24))

"Ragdyer" skrev:

Start time in A1,
End time in B1,
Enter this formula in a cell formatted as "General" or "Number":
=(B1-A1+(B1<A1))*24*AND(A1<0,B1<0)


Both A1 and B1 must have times entered for this to work.


This will also work when the times span across midnight.
--


HTH,


RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



"godnight" wrote in message
...
can't figure formula to calculate time accurately. Can anyone help



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



All times are GMT +1. The time now is 06:09 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"