+ Reply to Thread
Results 1 to 7 of 7

Sum of Round up

  1. #1
    Registered User
    Join Date
    08-03-2009
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2007
    Posts
    4

    Post Sum of Round up

    I have tried to get the sum of multiple cell in decimal format. but unfortunately it was computed as 100s for example in B2 is 1.30 in B3 is 1.15 and in B4 is 1.15
    and the sum is 3.60. Is it posible to round up to 4 instead of 3.60?

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sum of Round up

    If you always want to round up either:

    =ROUNDUP(SUM(B2:B4),0)

    or

    =CEILING(SUM(B2:B4),1)

    if you wish to Round to nearest Whole Number

    =ROUND(SUM(B2:B4),0)

  3. #3
    Registered User
    Join Date
    08-03-2009
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Sum of Round up

    Thanks the formula is ok.

    How can I Get the the sum if the there is a 5

    example B1 is 1 and B2 is 1.35 B3 is 1 the answer is 4.20 and if I make the B1 for 1.15 and B2 is 1.50 I've got the same answer of 4.20

    is it posible to make it 4.05

    By the way the formula I'm using is =CEILING(SUM(B2:B4),0.60)
    Last edited by Swordfish; 08-03-2009 at 03:32 AM. Reason: Addtitional info

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sum of Round up

    I'm afraid I don't understand your requirement, can you post a few examples of totals and the desired outputs ?

  5. #5
    Registered User
    Join Date
    08-03-2009
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Sum of Round up

    Sorry for the confusion,

    I'm trying to get the sum of the time in multiple cell. In decimal format

    Ex.

    B2 is 1 hour 35 minutes
    B3 is 1 hour 20 minutes
    B4 is 0.hour 15 minutes

    sum is 2 hours 70 minutes
    It is supposed to be 3 hours and 10 minutes But in decimal format 3.10

    I hope it will help.

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sum of Round up

    One way where B2: 1.35, B3: 1.20, B4: 0.15

    =DOLLARFR(DOLLARDE(SUM(B2:B4),60),60)

    EDIT: should add if you wanted 3 hours 10 minutes in time format, given nature of values in B2:B4

    =SUMPRODUCT(0+SUBSTITUTE(TEXT(B2:B4,"0.00"),".",":"))
    Last edited by DonkeyOte; 08-03-2009 at 03:54 AM.

  7. #7
    Registered User
    Join Date
    08-03-2009
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Sum of Round up

    Thank you very much and again sorry for the confusion

    Regards,

    Swordfish

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1