Add a value of 12 randomly across a set number of cells.

Martincosta

New Member
Joined
Dec 7, 2016
Messages
1
I am doing a max flow linear program using excel solver

I have a set of numbers in the column. For understanding purposes, i will refer to them as units.

In the LIMIT column as can be seen in the pic, all values which are RED. I want to add 12 units to across all the values in this range, RANDOMLY.
For example 6 units can be added to cell AC6 changing the value in the cell from 5 - 11 (because 5 +6 ) i want the additional units to be added to the cells.

it doesn't have to add 12 to every single cell, i just want it to consider, the cells within the range, and distribute the 12 units randomly across it. the range of values i want to add this additional 12 units randomly to are the values in RED.

i can't upload the picture here but i have done uploaded it to this link: Pasteboard — Uploaded Image

Please help,

many thanks!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,214,987
Messages
6,122,613
Members
449,090
Latest member
vivek chauhan

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