Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Location: Arlington, Texas
Posts: 1
Send a message via ICQ to Cor Bryant Send a message via AIM to Cor Bryant Send a message via Yahoo to Cor Bryant
Talking Need formula to randomize employee numbers for history audits

Hello All,

I'm an IT Director and I'm working on a spreadsheet that will randomize employee numbers (1 through 29) so that I can do truly random audits.

In F11, I'm currently using =RANDBETWEEN(1,29) which generates the random employee number I need when I press the F9 function key. What I want to do now is remove certain numbers from being a result.

Those numbers I want excluded will be listed in J16, J17, J18, J19, J20, J21, J22, J23, J24, J25, J26 and J27.

Each of those locations can contain more than one number seperated by a comma. So J17 may have employee numbers 1, 17, 13 ... like so...

Basically, I'm going to hit F9 three times per month to generate employee numbers to audit and then I'll enter those results in a "Done" column listed for each month (J16 through J27) and I want those excluded from future random results.

I'll zip up the spreadsheet I've done so far if it helps to explain what I'm talking about here. I've added 3 supposed results for January, I would need those and all cells below that down to J27 included in the "exclude" part of the formula


Any help would be greatly appreaciated. I am really weak with Excel and I've been working on that. Just not quite there yet. Thanks guys!
Attached Files
File Type: zip Forum - Hist Audit Wksht.zip (29.0 KB, 54 views)

Last edited by Cor Bryant : March 22nd 12 at 10:33 PM Reason: Grammar... =)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 153
Default Need formula to randomize employee numbers for history audits

I'm an IT Director and I'm working on a spreadsheet that will randomize
employee numbers (1 through 29) so that I can do truly random audits.

Basically, I'm going to hit F9 three times per month to generate
employee numbers to audit and then I'll enter those results in a "Done"
column listed for each month (J16 through J27) and I want those excluded
from future random results.

Any help would be greatly appreaciated.


It sounds like you need to go through the employee list in random order without duplication.

If that’s the objective, I’d suggest a different approach. Make a randomly sorted list once-and-for-all at the outset. Then freeze the list and take the numbers one by one, each time an audit is scheduled.

Here’s one way to make the list.

First, put the employee numbers in A1:A29.

Then put
=RAND()
in B1 and copy down to B29.

Then select columns A:B and sort by column B.

Then delete column B -- it served its purpose.

Remaining in column A is the employee list in random order. You can check off the numbers as they are used to keep track of which was chosen when.

After a list is used up, start over to get a new list randomized differently.

Hope this helps getting started.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding employee absence history JohnPM Excel Worksheet Functions 8 October 20th 09 08:51 AM
how can I randomize a set of 496 numbers? Stuart Leeman Excel Discussion (Misc queries) 3 May 7th 09 07:08 PM
randomize numbers Sean Excel Programming 8 October 11th 07 09:19 PM
randomize set of numbers justintime Excel Programming 3 August 3rd 06 10:49 AM
I need to randomize a column of alphanumeric employee ID's for a . topkick Excel Worksheet Functions 9 November 9th 04 02:38 PM


All times are GMT +1. The time now is 01:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"