Distribute values in excel based on weight

carrot

New Member
Joined
Jan 27, 2016
Messages
1
I have a total number, 300,000. I want to distribute this number over a list of items, where each item has a weight between 1 and 3. The sum of all numbers should add up back to 300,000. I tried looking for things like weighted distributions, but I'm not sure if that's what this is called.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Welcome to the Forum!

Do you mean like this?

C4: =ROUND(B$1*B4/B$10,0) Copy down the column

Excel 2010
ABC
1Distribute300,000
2
3WeightAmount
4Item A123,077
5Item B369,231
6Item C369,231
7Item D246,154
8Item E369,231
9Item F123,077
1013300,001

<tbody>
</tbody>


I have assumed that you want integer results, in which case you'll sometimes get minor rounding errors requiring adjustment, as in the example shown.
 
Upvote 0
Proportionally distribute the weights of questions on an exam when the test-taker answers "N/A" for a question

Hello, I have a question about my own distribution problem. I can't make my own post so I'm writing it here. I don't know who will see this :/

I am weighting the questions of a test differently. Questions can be answered with N/A. I want to proportionally distribute a question's weight that was answered "N/A" to the rest of the weighted questions on the exam. How do I calculated the adjusted weight for each question?
 
Upvote 0
Re: Proportionally distribute the weights of questions on an exam when the test-taker answers "N/A" for a question

Welcome to the Forum.

Something like this perhaps?

D2: =IF(C2="N/A",0,B2*B$13/(B$13-SUMIF(C$2:C$11,"N/A",B$2:B$11)))


Book1
ABCD
1QuestionWeightResponseRevised Weight
2111.25
3222.5
4333.75
541N/A0
6522.5
7645
8711.25
982N/A0
1091N/A0
111033.75
12
13Total2020
Sheet1
 
Upvote 0
Re: Proportionally distribute the weights of questions on an exam when the test-taker answers "N/A" for a question

Welcome to the Forum.

Something like this perhaps?

D2: =IF(C2="N/A",0,B2*B$13/(B$13-SUMIF(C$2:C$11,"N/A",B$2:B$11)))

ABCD
1QuestionWeightResponseRevised Weight
2111.25
3222.5
4333.75
541N/A0
6522.5
7645
8711.25
982N/A0
1091N/A0
111033.75
12
13Total2020

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>

Yes, thank you!!!!
 
Upvote 0

Forum statistics

Threads
1,214,800
Messages
6,121,641
Members
449,044
Latest member
hherna01

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