Hi, I am new here and would like some help

AM05

New Member
Joined
May 17, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
hi there everyone, i was hoping for some help here.

I have 13 departments and 121 employees and want to assign them departments (which have fixed spots) for a month randomize department for the given employees , I have been doing this manually and would like to use excel to automate the process so that I would have time to do other tasks,

thank you in advance for your help
 

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.
Hi AM05, welcome to the MrExcel Forum.

There are plenty of people who would like to help you. Help us help you by posting a representative sample of your data (real or fictitious) the way it is now (befrore) and how you would like the data to look after the solution (Formulas or Macros). It would great if you used XL2BB as that is the easiest for all parties. Good luck.
 
Upvote 0
i have uploaded a file i am not sure what formula to use to shuffle the list for my use

and thank you for your response, I appreciate the help :)
 
Upvote 0
#NamesCurrent DepartmentNew DepartmentNote
1​
JamesLogisticswant to randomize the departments for a few people or everyone sometimes a complete shuffle
2​
RobertLogistics
3​
JohnLogistics
4​
MichaelLogistics
5​
DavidLogistics
6​
WilliamQuality Assurance
7​
RichardQuality Assurance
8​
JosephQuality Assurance
9​
ThomasQuality Assurance
10​
CharlesQuality Assurance
11​
ChristopherQuality Assurance
12​
DanielQuality AssuranceDepartmentsTotal Employee needNote
13​
MatthewQuality AssuranceLogistics
5​
these numbers can be chnaged according to the need of the business
14​
AnthonyQuality AssuranceQuality Assurance
20​
15​
MarkQuality AssuranceProduction
50​
16​
DonaldQuality AssuranceRe-Packing
25​
17​
StevenQuality Assurance
18​
PaulQuality Assurance
19​
AndrewQuality Assurance
20​
JoshuaQuality Assurance
21​
KennethQuality Assurance
22​
KevinQuality Assurance
23​
BrianQuality Assurance
24​
GeorgeQuality Assurance
25​
TimothyQuality Assurance
26​
RonaldRe-Packing
27​
EdwardRe-Packing
28​
JasonRe-Packing
29​
JeffreyRe-Packing
30​
RyanRe-Packing
31​
JacobRe-Packing
32​
GaryRe-Packing
33​
NicholasRe-Packing
34​
EricRe-Packing
35​
JonathanRe-Packing
36​
StephenRe-Packing
37​
LarryRe-Packing
38​
JustinRe-Packing
39​
ScottRe-Packing
40​
BrandonRe-Packing
41​
BenjaminRe-Packing
42​
SamuelRe-Packing
43​
GregoryRe-Packing
44​
AlexanderRe-Packing
45​
FrankRe-Packing
46​
PatrickRe-Packing
47​
RaymondRe-Packing
48​
JackRe-Packing
49​
DennisRe-Packing
50​
JerryRe-Packing
51​
TylerProduction
52​
AaronProduction
53​
JoseProduction
54​
AdamProduction
55​
NathanProduction
56​
HenryProduction
57​
DouglasProduction
58​
ZacharyProduction
59​
PeterProduction
60​
KyleProduction
61​
EthanProduction
62​
WalterProduction
63​
NoahProduction
64​
JeremyProduction
65​
ChristianProduction
66​
KeithProduction
67​
RogerProduction
68​
TerryProduction
69​
GeraldProduction
70​
HaroldProduction
71​
SeanProduction
72​
AustinProduction
73​
CarlProduction
74​
ArthurProduction
75​
LawrenceProduction
76​
DylanProduction
77​
JesseProduction
78​
JordanProduction
79​
BryanProduction
80​
BillyProduction
81​
JoeProduction
82​
BruceProduction
83​
GabrielProduction
84​
LoganProduction
85​
AlbertProduction
86​
WillieProduction
87​
AlanProduction
88​
JuanProduction
89​
WayneProduction
90​
ElijahProduction
91​
RandyProduction
92​
RoyProduction
93​
VincentProduction
94​
RalphProduction
95​
EugeneProduction
96​
RussellProduction
97​
BobbyProduction
98​
MasonProduction
99​
PhilipProduction
100​
LouisProduction
 
Upvote 0
I am a little vague on exactly what you want to shuffle. That said, see if you can derive anything from here that might get you closer...

 
Upvote 0
thank you for your response, that being said, what i am looking for is, i have a set amount of employee working for the company and i want to shuffle all the employees within all the departments.(i have finally understood how to use Xl2bb)

New Microsoft Excel Worksheet.xlsx
ABCDEFGHIJKLMNOPQ
1#NamesCurrent DepartmentNew DepartmentNote
21JamesLogisticswant to randomize the departments for a few people or everyone sometimes a complete shuffle
32RobertLogistics
43JohnLogistics
54MichaelLogistics
65DavidLogistics
76WilliamQuality Assurance
87RichardQuality Assurance
98JosephQuality Assurance
109ThomasQuality Assurance
1110CharlesQuality Assurance
1211ChristopherQuality Assurance
1312DanielQuality Assurance DepartmentsTotal Employee needNote
1413MatthewQuality Assurance Logistics 5these numbers can be chnaged according to the need of the business
1514AnthonyQuality Assurance Quality Assurance 20
1615MarkQuality Assurance Production50
1716DonaldQuality Assurance Re-Packing 25
1817StevenQuality Assurance
1918PaulQuality Assurance
2019AndrewQuality Assurance
2120JoshuaQuality Assurance
2221KennethQuality Assurance
2322KevinQuality Assurance
2423BrianQuality Assurance
2524GeorgeQuality Assurance
2625TimothyQuality Assurance
2726RonaldRe-Packing
2827EdwardRe-Packing
2928JasonRe-Packing
3029JeffreyRe-Packing
3130RyanRe-Packing
3231JacobRe-Packing
3332GaryRe-Packing
3433NicholasRe-Packing
3534EricRe-Packing
3635JonathanRe-Packing
3736StephenRe-Packing
3837LarryRe-Packing
3938JustinRe-Packing
4039ScottRe-Packing
4140BrandonRe-Packing
4241BenjaminRe-Packing
4342SamuelRe-Packing
4443GregoryRe-Packing
4544AlexanderRe-Packing
4645FrankRe-Packing
4746PatrickRe-Packing
4847RaymondRe-Packing
4948JackRe-Packing
5049DennisRe-Packing
5150JerryRe-Packing
5251TylerProduction
5352AaronProduction
5453JoseProduction
5554AdamProduction
5655NathanProduction
5756HenryProduction
5857DouglasProduction
5958ZacharyProduction
6059PeterProduction
6160KyleProduction
6261EthanProduction
6362WalterProduction
6463NoahProduction
6564JeremyProduction
6665ChristianProduction
6766KeithProduction
6867RogerProduction
6968TerryProduction
7069GeraldProduction
7170HaroldProduction
7271SeanProduction
7372AustinProduction
7473CarlProduction
7574ArthurProduction
7675LawrenceProduction
7776DylanProduction
7877JesseProduction
7978JordanProduction
8079BryanProduction
8180BillyProduction
8281JoeProduction
8382BruceProduction
8483GabrielProduction
8584LoganProduction
8685AlbertProduction
8786WillieProduction
8887AlanProduction
8988JuanProduction
9089WayneProduction
9190ElijahProduction
9291RandyProduction
9392RoyProduction
9493VincentProduction
9594RalphProduction
9695EugeneProduction
9796RussellProduction
9897BobbyProduction
9998MasonProduction
10099PhilipProduction
101100LouisProduction
Sheet1
 
Upvote 0
i want to change the department of the employee with any human interaction, all by the a formula, as i don't want to show favoritism to any employee and get blamed for play favorites
 
Upvote 0
Did you look at the link I provided.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
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