+ Reply to Thread
Results 1 to 7 of 7

Divide a number into multiple cells

  1. #1
    rhon101
    Guest

    Divide a number into multiple cells

    I need to divide a number into multiple cells accurately. All results should
    equal the divided number if summed.
    An odd number for example;
    455 divided into 4 cells should return 114, 114, 114, 113.

    Or an even number;
    424 divided into 4 different cells returning 212, 212, 212, 212.

    Thanks


  2. #2
    tim m
    Guest

    RE: Divide a number into multiple cells

    The question is do the numbers have to be rounded up or down to whole numbers
    or can they be decimals?

    If 455 was in cell A1 you could copy this forumla into four cells =$A$1/4
    which would give you 113.75, a sum of those 4 cells = 455

    "rhon101" wrote:

    > I need to divide a number into multiple cells accurately. All results should
    > equal the divided number if summed.
    > An odd number for example;
    > 455 divided into 4 cells should return 114, 114, 114, 113.
    >
    > Or an even number;
    > 424 divided into 4 different cells returning 212, 212, 212, 212.
    >
    > Thanks
    >


  3. #3
    Biff
    Guest

    Re: Divide a number into multiple cells

    Hi!

    It looks like you want whole numbers as results.

    What result would expect from 286?

    72....72....72....70 = 286

    A1 = some number

    Enter this formula in B1 and copy across to E1:

    =IF(COLUMNS($A:A)<4,ROUND($A1/4,0),$A1-ROUND($A1/4,0)*3)

    Biff

    "rhon101" <[email protected]> wrote in message
    news:[email protected]...
    >I need to divide a number into multiple cells accurately. All results
    >should
    > equal the divided number if summed.
    > An odd number for example;
    > 455 divided into 4 cells should return 114, 114, 114, 113.
    >
    > Or an even number;
    > 424 divided into 4 different cells returning 212, 212, 212, 212.
    >
    > Thanks
    >




  4. #4
    Registered User
    Join Date
    03-03-2020
    Location
    Hook
    MS-Off Ver
    365
    Posts
    3

    Re: Divide a number into multiple cells

    This is a great formula. I am trying to adapt it for for 12 columns with any smaller numbers (if needed) generated first.
    E.g. 14 as the total number with columns B-N displaying the breakdown. Columns B-K would display 1 and columns L-M would display 2.
    Any help gratefully received.

    BW
    Bryan

  5. #5
    Registered User
    Join Date
    03-03-2020
    Location
    Hook
    MS-Off Ver
    365
    Posts
    3

    Re: Divide a number into multiple cells

    PS the series of numbers I want to use as totals are: 12, 14, 16, 26, 28, 30 & 42
    Thx Bryan

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Divide a number into multiple cells

    Hi Bryan,

    Administrative Note:

    Welcome to the forum.

    We are happy to help; however, while you feel your request is similar to this thread, experience has shown things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    HTH
    Regards, Jeff

  7. #7
    Registered User
    Join Date
    03-03-2020
    Location
    Hook
    MS-Off Ver
    365
    Posts
    3

    Re: Divide a number into multiple cells

    Found the solution in "Dividing a number so that there is no remainer but total is the same"
    Many thanks
    Bryan

+ 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