Hi,
An alternate method is to use the Analysis ToolPak's Random Sampling tool,
provided you have some numerical data, such as an employee number associate
with each one.
1. Attach the tool in 2003 or earlier by choosing Tools, Add-Ins, Analysis
ToolPak
2. Choose Tools, Data Analysis, Sampling.
3. Fill in the dialog box as desired using the numerical data as the Input
range.
If the data is non-numeric then suppose the names are in the range B1:B1000,
then
1. In cell A1 enter the formula =RAND() and copy it down as far as
necessary.
2. In a blank cell enter the formula:
=IF(ROW(A1)<=ROUND(0.2*COUNTA($B$1:$B$1000),0),VLOOKUP(LARGE($A$1:$A$1000,ROW(A1)),$A$1:$B1000,2,0),"")
Copy this formula down until it does not display any results - 20% of 1000
would be 200 row.
or you could hardcode the 200 into the formula:
=IF(ROW(A1)<=200,VLOOKUP(LARGE($A$1:$A$1000,ROW(A1)),$A$1:$B$1000,2,0),"")
Cheers,
Shane Devenshire
Microsoft Excel MVP