+ Reply to Thread
Results 1 to 3 of 3

Evenly distribute a number across several cells

  1. #1
    Registered User
    Join Date
    02-06-2015
    Location
    Ireland
    MS-Off Ver
    2013
    Posts
    2

    Evenly distribute a number across several cells

    Hi,

    I have a problem to solve, I was hoping you can help me with it.

    I have a number of blood samples (let's say 52) to distribute evenly across up to 6 centrifuges. Of course, this could mean some of the centrifuges would get one more, and some one less sample to work on.

    Number of samples could change, same as number of centrifuges.

    I tried to solve it by using QUOTIENT(samples,centrifuges) and MOD(samples,centrifuges) functions, but am stuck at the moment.
    QUOTIENT would be the first 'round' of sampling, equally distributing same amount across the board. How to distribute the reminder (MOD result) among them?


    Anyone able/willing to help?

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,037

    Re: Evenly distribute a number across several cells

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    02-06-2015
    Location
    Ireland
    MS-Off Ver
    2013
    Posts
    2

    Re: Evenly distribute a number across several cells [SOLVED]

    Hi zbor,

    Thanks for the reply, I think I managed to do it.

    I get base number of samples going to each centrifuge by using QUOTIENT function.
    Then, I start distributing reminder of the division one by one across centrifuges until there is none left.
    I add base number + calculated modulo for each centrifuge to get the final quantity.


    Regards,
    Greg.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Distribute Data Evenly Among n Cells
    By TimBZKK in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-17-2018, 02:02 AM
  2. Distribute Data Evenly
    By sohlican in forum Excel General
    Replies: 13
    Last Post: 09-19-2014, 07:37 PM
  3. Distribute Values Evenly Across Cells
    By Crunchmeister in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-09-2014, 08:10 AM
  4. Evenly distribute numbers
    By captain118 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-05-2013, 01:27 AM
  5. trying to distribute evenly between number of people
    By magleremm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-11-2012, 09:41 PM

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