+ Reply to Thread
Results 1 to 8 of 8

Formula to divide a number evenly umong four cells with a remainder of zero.

  1. #1
    Registered User
    Join Date
    07-10-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2003
    Posts
    4

    Formula to divide a number evenly umong four cells with a remainder of zero.

    Good Evening All you Excel Geniuses!!
    I need help!! I work in the purchasing department for a grocery store. I need a formula that can help me distribute loads into four days by a percentage each day with a remainder of zero.

    I have tried "IF" functions, but I can't seem to get a remainder of zero... I NEED HELP!! This is really time consuming to do every day! Thank you in advance!

    Example:
    I need to distribute 5 pallets
    Monday: 30% of the load
    Wednesday:20% of the load
    Thursday:10%
    Friday:10%

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Formula to divide a number evenly umong four cells with a remainder of zero.

    Please post a sample workbook with some typical numbers for distribution.

    Is it always those percentages? In your example above, you have only distributed 70% of the load. What happens to the other 30%?

    The easiest way to get a zero balance is to use percentages for the first three days and then take what you've distributed from the total for the last day ... it may not be the exact percentage but I suspect you can't have both.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Formula to divide a number evenly umong four cells with a remainder of zero.

    10% of 5 palletes is 0.5 pallet.
    How do you expect your answer to be without remainder?
    You can split them 3,2,1,1 but this is not percentage.

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Formula to divide a number evenly umong four cells with a remainder of zero.

    like this one....????


    distribute values.xlsx
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  5. #5
    Registered User
    Join Date
    07-10-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Formula to divide a number evenly umong four cells with a remainder of zero.

    Thank you for responding!!! You are correct about the math... I was just giving examples of percentages. I have attached a distribution list.

    The first column is the stores I am distributing to, the following four columns are the days that I need to split my loads and the last column is the total amount of pallets I have to distribute. The simple formula I used works up until 5 pallets but anything after that gets a little tricky.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    07-10-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Formula to divide a number evenly umong four cells with a remainder of zero.

    THANK YOU!! I am going to try this on my sheet! You are quick!! I am excel beginner, but I know Excel can save the world!! Well at least at work...

  7. #7
    Registered User
    Join Date
    07-10-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Formula to divide a number evenly umong four cells with a remainder of zero.

    Thank you VLady... Your formula seems to be doing the trick!

  8. #8
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Formula to divide a number evenly umong four cells with a remainder of zero.

    in your sample file i think you will have a big amendment maybe instead of row() you will use column() but i have no time now to do that maybe you could atleast make your worksheet as formatted in the given sample file of mine, studying make's us learn more . thanks,
    and your welcome.

+ 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