Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 3
Default Duplicate ramdom sampling

Hi,

I am trying to make a sample of 25 from 100 employees using Excel 2003. But everytime i do a sample, there are two or three employees that are duplicated. Could you please tell me if this doesnot happen. All i have are two columns. One has employee I.D. No. and the other has their name right next to it.

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default Duplicate ramdom sampling

Hello Lee,

Put my UDF uniqrandint into a macro module:
http://www.sulprobil.com/html/uniqrandint.html

If your data is in A1:B100, select C1:C25 and array-enter
=uniqrandint(100)
Select D1:D25 and array-enter
=index(A1:A100,C1:C25)
etc.

Regards,
Bernd
  #3   Report Post  
Junior Member
 
Posts: 3
Default

Hello Bernd,

Thank you for responding to my question. But I think that i phrased the question wrong. I have a list of 100 employees, some of whom are part-time employees. All i have are two columns. One has employee I.D. No. and the other has their name right next to it. I created a pivot table of only the partially active employees. Now, the employee I.D. numbers are not consecutive numbers. I need to make a sample of these partially active employees; without duplicating them.

Thank you,

Lee
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
Ramdom selection with criteria starky Excel Discussion (Misc queries) 2 April 16th 08 08:01 PM
Sampling hmc Excel Discussion (Misc queries) 1 February 14th 08 05:58 PM
Sampling gary53217 Excel Discussion (Misc queries) 5 April 26th 07 09:00 PM
Sampling John Adams Excel Discussion (Misc queries) 1 April 20th 07 08:43 PM
Sampling kharrison Excel Discussion (Misc queries) 4 December 21st 04 10:40 AM


All times are GMT +1. The time now is 11:14 PM.

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

About Us

"It's about Microsoft Excel"