LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Random Values

It is late and I should go to sleep, hope I get it right this time;

1. Insert Column A and enter numbers from 1 to 200
2. Have names in Column B
3. In C1 enter
=ROUNDUP(RAND()*200,0)
and copy down to C20
4. in D1 enter
=VLookup (C1,A:B,2,False)
and copy down to D20

Press F9 whenever you need a new set of 20 random names...



"Sheeloo" wrote:

Sorry VLOOKUP should be entered in D1 and copied to D20
=VLookup (C1,A:B,2,False)

assuming you have entered the RAND() formula in C1 and your Serial Numbers
are in Col A and Names in Col B...

"ziggi456" wrote:

Hi
I have a list of people (approx 200) and need daily to pick 20% of these
people on a random search

 
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
Array? Put values from random columns into 4 willwonka Excel Worksheet Functions 4 March 16th 07 05:20 PM
Function to select random values from a list. Peter Barrett Excel Worksheet Functions 1 November 16th 06 02:27 PM
Need to generate random values from a list Sumeet Benawra Excel Discussion (Misc queries) 2 July 13th 06 12:13 PM
Random Values totaling Cell value inkpassion Excel Discussion (Misc queries) 5 September 7th 05 08:09 AM
Generate random numbers between two values and with a given mean pinosan Excel Worksheet Functions 2 March 7th 05 02:04 PM


All times are GMT +1. The time now is 06:35 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"