Allocate values from multiple cells and distribute (divide) to multiple cells almost equally

pin3kodu

New Member
Joined
Jan 9, 2024
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
The idea is that allocating the values from different cells and distributions spesific cells intelligently.

Here is the operations:
First find the maksimum valued 2 "TAKERS" from the column H (blue colored)
Distribute the numbers almost equally and integer to the "TAKERS"
Each "GİVER" sends different number of colors to "TAKERS" almost equally
Manuel distribution is attached.

Which VBA codes solves this problem?
Thanks =)
Distribution.jpg
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Can a Giver split their items and send a portion to Taker1 and the remainder to Taker2? For example, if GiverA has 5 reds, could 3 reds be given to Taker1 and 2 reds be given to Taker2?
 
Upvote 0

Forum statistics

Threads
1,215,772
Messages
6,126,806
Members
449,337
Latest member
BBV123

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