Hello All,
Please check the attached file and please help me in this.
Thanks
Rahul
Hello All,
Please check the attached file and please help me in this.
Thanks
Rahul
Last edited by Rahul Nagar; 06-16-2009 at 10:44 AM.
what file is that then?
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
oohhsorry
Please check now
In C2
=MOD(B2-A2,1)
format as h:mm and copy down
=IF(B2<A2,(B2-A2+1)*24,(B2-A2)*24) wil' give hours worked in decimal format e.g 9.5 (which is 9:30)
ah the old mod function i'm slipping badly today
but fyi you have to multiply by 24 if you want to calc overtime or such
=MOD(B2-A2,1)*24 gives same answer as above but is a tad shorter
Last edited by martindwilson; 06-16-2009 at 10:25 AM.
Thanks you are the best![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks