Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Seo Services company Manchester

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 11-30-2005, 06:37 AM
mel_flynn mel_flynn is offline
Registered User
 
Join Date: 30 Nov 2005
Posts: 2
mel_flynn is becoming part of the community
Adding times

Please Register to Remove these Ads

I'm trying to add the following list of times:
09:30 + 09:00 + 09:00 + 04:00 + 08:30 + 08:30 + 06:00 + 05:00 + 05:00 + 07:00 + 08:00 + 05:00 + 04:00 + 07:30

Using the following formula:
=IF(INT(ROUND(SUM(L4:L70)/0.04166667,2)) = 0, "", INT(ROUND(SUM(L4:L70)/0.04166667,2)) &":" & IF(MINUTE(MOD(SUM(L4:L70),1)) < 10, "0" & MINUTE(MOD(SUM(L4:L70),1)), MINUTE(MOD(SUM(L4:L70),1))))

The problem lies in the part of the function marked in bold. This function is working perfectly with all/most other combinations of times.

Hopefully someone can help me.

Thanks,
Imelda.

Last edited by mel_flynn; 11-30-2005 at 06:41 AM.
Reply With Quote
  #2  
Old 11-30-2005, 09:45 AM
Bernie Deitrick
Guest
 
Posts: n/a
Re: Adding times

Imelda,

Have you tried simply summing the values:

=SUM(L4:L70)

and using the custom format

[h]:mm

or

[m]:ss

(depends on how those values are actually entered....)

HTH,
Bernie
MS Excel MVP


"mel_flynn" <mel_flynn.1zb5go_1133350803.0141@excelforum-nospam.com> wrote in message
news:mel_flynn.1zb5go_1133350803.0141@excelforum-nospam.com...
>
> I'm trying to add the following list of times:
> 09:30 + 09:00 + 09:00 + 04:00 + 08:30 + 08:30 + 06:00 + 05:00 + 05:00 +
> 07:00 + 08:00 + 05:00 + 04:00 + 07:30
>
> Using the following formula:
> =IF(INT(ROUND(SUM(L4:L70)/0.04166667,2)) = 0, "",
> INT(ROUND(SUM(L4:L70)/0.04166667,2)) &":" &
> IF(MINUTE(MOD(SUM(L4:L70),1)) < 10, "0" & MINUTE(MOD(SUM(L4:L70),1)),
> MINUTE(MOD(SUM(L4:L70),1))))
>
> The problem lies in the part of the function marked in bold. This
> function is working perfectly with all/most other combinations of
> times.
>
> Hopefully someone can help me.
>
> Thanks,
> Imelda.
>
>
> --
> mel_flynn
> ------------------------------------------------------------------------
> mel_flynn's Profile: http://www.excelforum.com/member.php...o&userid=29206
> View this thread: http://www.excelforum.com/showthread...hreadid=489376
>



Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump