PC Review


Reply
Thread Tools Rate Thread

Adding hours

 
 
Yitzhack
Guest
Posts: n/a
 
      11th Oct 2008
All,
I'm trying to add hours per week B2:G2 but i cannot make it work please
help. I have this formula to add the hours daily. the formula needs to return
hours worked in the same format

=+IF(+(B3-B2)*24<0,-(B3-B2)*24,+(B3-B2)*24)+IF(+(B5-B4)*24<0,-(B5-B4)*24,+(B5-B4)*24)

--
Regards
YM

 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      11th Oct 2008
Try this

=24*(abs(B3-B2)+abs(B5-B4))

"Yitzhack" wrote:

> All,
> I'm trying to add hours per week B2:G2 but i cannot make it work please
> help. I have this formula to add the hours daily. the formula needs to return
> hours worked in the same format
>
> =+IF(+(B3-B2)*24<0,-(B3-B2)*24,+(B3-B2)*24)+IF(+(B5-B4)*24<0,-(B5-B4)*24,+(B5-B4)*24)
>
> --
> Regards
> YM
>

 
Reply With Quote
 
Sandy Mann
Guest
Posts: n/a
 
      11th Oct 2008
See my reply in excel.misc NG. Please don't multipost to different groups.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(E-Mail Removed)
Replace @mailinator.com with @tiscali.co.uk


"Yitzhack" <(E-Mail Removed)> wrote in message
news:9106B98F-B9F7-4387-8DFA-(E-Mail Removed)...
> All,
> I'm trying to add hours per week B2:G2 but i cannot make it work please
> help. I have this formula to add the hours daily. the formula needs to
> return
> hours worked in the same format
>
> =+IF(+(B3-B2)*24<0,-(B3-B2)*24,+(B3-B2)*24)+IF(+(B5-B4)*24<0,-(B5-B4)*24,+(B5-B4)*24)
>
> --
> Regards
> YM
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding hours Yitzhack Microsoft Excel Misc 6 11th Oct 2008 06:04 PM
Need help adding hours exceeding 24 hours faerk Microsoft Excel Worksheet Functions 7 18th Aug 2008 08:59 PM
Adding hours Sharon Swartz Microsoft Excel Worksheet Functions 2 1st Jul 2004 01:54 PM
Adding Up Hours Jackie Microsoft Access Queries 2 28th May 2004 11:29 PM
Re: Adding more than 23 hours Andy B Microsoft Excel Worksheet Functions 1 16th Apr 2004 04:36 PM


Features
 

Advertising
 

Newsgroups
 


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