VBA : Audit Selector Based on Task with no repeated user.

AmirFirdaus9509

New Member
Joined
Feb 14, 2022
Messages
19
Office Version
  1. 2016
Platform
  1. Windows
Hi There ,

I would humbly seek help to find a logic on how to apply an Audit Tool where it will randomly pick a user and task based on required audit number.

Previously , I have created a simple audit tool that capture the total number of row and randomly take any row but this has cause the data to capture imbalance total name and provide some name to be taken more than the others. This cause an unfair audit.

Hence , i am trying to create an audit that able to properly take each name with required number of task .
I made multiple attempt prior to asking but came up nothing.

I appreciate if someone could point to the right direction so i can learn from there

Here is sample worksheet that contain a header such as "Date" , "Name" and "Task Type". In real data it would contain around few hundred row of data.

1719296264704.png


Here is the required amount for each audit in total data .

1719298942887.png

1. Once a User Name is picked on Task Name A, the name will not be picked again on that particular Task and other user name will be picked.
2. Once a total audit amount of Task Name A is picked it (for example is 2 for A_ will be going for Task Name B and etc.
3. Best case scenario is that no same name is pull from Task Name

Thank You very Much
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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