Distributing value automatically across cells

osk89

New Member
Joined
Jul 21, 2018
Messages
16
i have line load in column B, but the line in capped to 100 kW so the load more than 100 kW should be shifted to the cells where the load is less than hundred (can be seen in column D). from the table, we see the accumulated load to be shifted is 25 kW. this should be shifted to the cells starting from F19 on wards. but the value in row E should be completely filled before overflowing to the next cell. when it reaches the end of the table, it should move to the top and start distributing


BCDEF

<tbody>
</tbody>
line Loadline load capped to 100 kwto be shifteddelta to 100Compensated load
1939307
2949406
3959505
4969604
5979703
6989802
7999901
810010000
910110010
1010210020
1110310030
1210410040
1310510050
1410410040
1510310030
1610210020
1710110010
1810010000
19999901
20989802
21979703
22969604
23959505
24949406
25939307
26929208
27919109
289090010
total 25

<tbody>
</tbody>
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
@osk: Sort descending by load.

Hi Shg,
actually i cant change the order of the rows, as each row represents a specific time during the day. continuing to distribute the load to the top means the load is shifted to the next day (last row is for mid night)
 
Last edited:
Upvote 0
Then just continue down further.
 
Upvote 0

Forum statistics

Threads
1,213,556
Messages
6,114,284
Members
448,562
Latest member
Flashbond

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