Function Problems

How to Distribute Points Randomly Across Categories in Excel

Jason MillerJason Miller Nov 11, 2026 868 views

Question details

The user wants to distribute a specific total number of points across multiple categories based on randomly generated probabilities that sum to exactly 100%.

How to Distribute Points Randomly Across Categories in Excel
Product
Excel
Device & OS
not provided
Scenario
Allocating a fixed number of resources or points to various categories randomly, ensuring the total matches the target.
Observed behavior
The user needs a formula or method to generate proportional allocations using RAND or RANDARRAY functions.
Before you start

Ensure you know the total number of points you want to distribute and the exact number of categories you are allocating them to.

Solution 1Recommended

Use the LET and RANDARRAY Functions

This method uses modern dynamic array functions to generate random proportions and distribute points in a single formula.

By combining LET, RANDARRAY, SUM, and SEQUENCE, you can generate an array of random numbers, calculate their sum, and instantly divide each by the total to get a perfect 100% distribution.

1
Select the target cell

Click on the cell where you want the first category's allocation to appear.

2
Enter the dynamic array formula

Type the formula =LET(r,RANDARRAY(1,6),s,SUM(r),TRANSPOSE(INDEX(r,1,SEQUENCE(6))/s)) * Total_Points. Replace '6' with your actual number of categories and 'Total_Points' with your target number.

3
Apply the formula

Press Enter to generate the random distribution across the categories automatically.

Use the LET and RANDARRAY Functions
Recalculation: Because RANDARRAY is a volatile function, the values will recalculate every time you edit the worksheet. Copy and paste as values to lock them.
WPS Spreadsheet Solution

Easily Distribute Points with WPS Spreadsheet

WPS Spreadsheet fully supports advanced dynamic array functions like RANDARRAY and LET, allowing you to seamlessly distribute points across categories using random probabilities.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the file where you need to distribute points.
  2. 2. Select the target cell: Click on the cell where the distribution should begin.
  3. 3. Input the formula: Enter the =LET(...) formula using RANDARRAY to calculate the proportions.
  4. 4. Calculate final points: Multiply the formula by your total points and press Enter to see the results.
Fully compatible with Microsoft Excel formulasSupports dynamic arrays like RANDARRAY and SEQUENCEFree and lightweight spreadsheet softwareBuilt-in data analysis and visualization tools
microsoft office alternative - wps office

Frequently Asked Questions

Why do my random numbers keep changing?

Functions like RAND and RANDARRAY are volatile, meaning they recalculate whenever any change is made to the worksheet. To keep the numbers static, copy the generated values and use 'Paste Special' > 'Values'.

How do I ensure the distributed points are whole numbers?

You can wrap your final calculation in the ROUND function, for example, =ROUND(your_formula, 0). Note that rounding might cause the sum to slightly deviate from your exact total, requiring a manual adjustment to one of the categories.

Can I use this method for any number of categories?

Yes. Simply change the number in the RANDARRAY or SEQUENCE functions (e.g., change 6 to 10 for ten categories), or drag the standard RAND formula down for as many rows as you have categories.