How to Distribute Points Randomly Across Categories in Excel
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%.

- 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.
Ensure you know the total number of points you want to distribute and the exact number of categories you are allocating them to.
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.
Click on the cell where you want the first category's allocation to appear.
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.
Press Enter to generate the random distribution across the categories automatically.

Use the RAND Function with Helper Columns
If you are using an older version of Excel or prefer a step-by-step approach, you can use the standard RAND function.
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. Open your workbook: Launch WPS Spreadsheet and open the file where you need to distribute points.
- 2. Select the target cell: Click on the cell where the distribution should begin.
- 3. Input the formula: Enter the =LET(...) formula using RANDARRAY to calculate the proportions.
- 4. Calculate final points: Multiply the formula by your total points and press Enter to see the results.

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.




