Formula help - pivot table did not solve my problem

samyscraps01

Board Regular
Joined
Jul 6, 2017
Messages
58
I have a list of managers (column A), a list of departments that are assigned to these managers (the amount varies) (column B), the final column contains the amount/values of employees in each dept (column C).
The purpose of the list is to distribute it to 6 different people. I need 6 different buckets so that each bucket contains roughly the same amount of employees.

The catch is that I need to group the buckets together so that as many of the same managers remain in the one bucket rather than randomly scattered over all 6 buckets. This makes it easier on the distribution so that each of the 6 employees has the consistency of working with the same manager. Also, I can’t have half of a group of employees in one bucket from the same department and the other half in another bucket.

Sample below
Sam, MGR, Social Services Dept., 12 Employees.
John, MGR, HR Dept., 25 Employees.
Kelly, MGR, Payroll Dept., 48 Employees.
Sam, MGR, Education Dept., 6 Employees.

Any assistance is greatly appreciated!

THANK YOU.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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