+ Reply to Thread
Results 1 to 3 of 3

Number of equal groups given a total amount

  1. #1
    Registered User
    Join Date
    02-23-2012
    Location
    northampton
    MS-Off Ver
    Excel 2003
    Posts
    2

    Number of equal groups given a total amount

    Hi all,

    I'm new here and although I can find my way around excel ok I am really stuck on this.

    I need a formula that can solve this problem (and otherslike it)

    For example.

    I have 37 apples. 1 box holds 24 apples. I need to know how many boxes of apples I have and how many apples are left over.

    Can anyone help me with this?

    I hope so.

    Thank you in advance for your time.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: is this a fraction formula?

    Erm this is just simple maths

    Number of boxes would be

    total apples divided by how many a box can hold = 37 / 24, 1.5416666, as an integer = 1

    remainder would be total apples - number of boxes used * 24 = 37 - 1*24 = 13

    So A1 is total apples
    B1 is boxes = INT (A1 / 24)
    C1 is remainder = A1 - B1 * 24
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: is this a fraction formula?

    =INT(A1/B1) gives total full boxes.

    =A1-B1*INT(A1/B1) gives remainder

    where A1 contain number of apples, and B1 contains number of apples 1 box holds.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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