Hi, Something like:
If Start Time < Finish Time Then Finish Time - Start Time - 24 Otherwise Finish Time - Start Time If Start time is A1 and Finish Time A2 If(A2<A1,A2-A1-24,A2-A1) Regards - Dave. Date: Tue, 2 Mar 2010 16:05:10 +0500 Subject: $$Excel-Macros$$ over time sheet From: yasir.shah...@gmail.com To: excel-macros@googlegroups.com Dear members how are you all? Dear i have no problem when i calculate over time sheet, but whenever i want to calculate night shift over time hours i have problem. for example i used simple formula in - out = total hours but when day change for example 01 - 03 -2010 In (01-March) Out (2nd march) 20:00 08:00 so how we found result? i am waiting for your earlier response -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our Facebook Group @ http://www.facebook.com/group.php?gid=287779555678 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,800 subscribers worldwide and receive many nice notes about the learning and support from the group.Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe _________________________________________________________________ Get the latest jobs delivered. Sign up for SEEK Jobmail. http://clk.atdmt.com/NMN/go/157639755/direct/01/ -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our Facebook Group @ http://www.facebook.com/group.php?gid=287779555678 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,800 subscribers worldwide and receive many nice notes about the learning and support from the group.Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe