Formula even distribution to equal 100%

AAA_1327

New Member
Joined
May 19, 2009
Messages
30
I need to distribute 100% across a set of columns. I have tried using =RANDBETWEEN(1,100) but it does not total to 100.

What I am looking for should look like this in the perfect world. Is there a formula that would do this:

A B C D E
Mike 5% 25% 70% 0% 0%
Jorge 100% 0% 0% 0% 0%
Dan 10% 0% 30% 20% 40%
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
What are you trying to achieve?

Is it a random allocation of the 100% across each of the names?

Regards

Roger
 
Upvote 0
You could try something like

A2: =RANDBETWEEN(0,100)
B2: =RANDBETWEEN(0,100-SUM($A$2:A$2))
Fill right to D2
E2: =100-SUM($A$2:$D$2)
 
Upvote 0
Right,
how about...

in H2,3,4,5,6 =Rand()
In I6 =sum(H2:H6)

A= Mike B=H3/I6, C=H4/I6, D=H5/I6, E=H5/I6 F=H5/I6

You would then need to create another table for the next person...

Etc...

Probably not the cleanest way, but it'll work.

Regards

Roger
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,723
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top