+ Reply to Thread
Results 1 to 6 of 6

Custom round up sumation

  1. #1
    Registered User
    Join Date
    01-04-2011
    Location
    La,NGN
    MS-Off Ver
    Excel 2007
    Posts
    3

    Post Custom round up sumation

    I have a product with 40 rolls that makes up a carton, if I have 2.13+2.25+3.19, ordinarily it will give me 7.57, How can I convert 2.13+2.25+3.19 = 7.57 to 8.17, since every 0.40 equal to 1

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Custom round up sumation

    Welcome to the forum.

    Can you explain that all again, a little slower?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    01-04-2011
    Location
    La,NGN
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Custom round up sumation

    In a given product, I have 40 packs in a carton. That is, every 40 packs equals 1 carton.Then, cell A2 = 2.13 which is 2cartons 13packs, B2 = 2.25 which is 2cartons 25packs,C2 = 3.19 which is 3cartons 19packs.

    The summation of A2+B2+C2 (i.e 2.13+2.25+3.19) = 7.57 (i.e 7cartons 57packs). Since every 40packs is rounded up to 1Carton, I am suppose to get 8.17 as my answer and not 7.57. How can I round up every decimal that is up to 0.40 to 1

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

    Re: Custom round up sumation

    If using XL2007 as implied one possibility:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-04-2011
    Location
    La,NGN
    MS-Off Ver
    Excel 2007
    Posts
    3

    Thumbs up Re: Custom round up sumation

    Wow! that's it. Thanks

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Custom round up sumation

    You could shorten that to the following:

    =DOLLARFR(SUMPRODUCT(DOLLARDE(A2:C2+0,40)),40)
    Audere est facere

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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