Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Random number selection

I am a Taining Coordinator for a major company. I am setting up
certification boadrs that require questioning of applicants. I have a bank
of 100 questions to choose from. I only want to ask 50. How can I get a
spread sheet that will randomly pick 50 numbers from 100 without repeating a
number?
--
kwidener
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Random number selection

One way

Put numbers 1-100 in cells A1 to A100 (type 1 in A1, hold Ctrl and copy down
to A100)
Put "=RAND()" (no quotes) in column B and copy down

Highlight columns A& B, select SORT ... by Column B and select first 50 from
column A.

If questions are in table in Excel, you could use VLOOKUP to extract
questions.

HTH

"kwidener" wrote:

I am a Taining Coordinator for a major company. I am setting up
certification boadrs that require questioning of applicants. I have a bank
of 100 questions to choose from. I only want to ask 50. How can I get a
spread sheet that will randomly pick 50 numbers from 100 without repeating a
number?
--
kwidener

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Random number selection

Try this:

Say in Z1, enter:
=RAND()
And copy down to Z100.

Then, wherever you wish to create your list, enter this formula:

=INDEX(ROW($A$1:$A$100),RANK(Z1,$Z$1:$Z$100))

And copy down 50 rows.

Each time you hit <F9, you'll get a *new* random list.

You may wish to *turn off* auto calculation, to retain your list until you
choose to recalc.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"kwidener" wrote in message
...
I am a Taining Coordinator for a major company. I am setting up
certification boadrs that require questioning of applicants. I have a

bank
of 100 questions to choose from. I only want to ask 50. How can I get a
spread sheet that will randomly pick 50 numbers from 100 without repeating

a
number?
--
kwidener


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Random number selection

Hi Toppers,
I tried this suggestion but got fractions instead. Did I leave out a step?
--
kwidener


"Toppers" wrote:

One way

Put numbers 1-100 in cells A1 to A100 (type 1 in A1, hold Ctrl and copy down
to A100)
Put "=RAND()" (no quotes) in column B and copy down

Highlight columns A& B, select SORT ... by Column B and select first 50 from
column A.

If questions are in table in Excel, you could use VLOOKUP to extract
questions.

HTH

"kwidener" wrote:

I am a Taining Coordinator for a major company. I am setting up
certification boadrs that require questioning of applicants. I have a bank
of 100 questions to choose from. I only want to ask 50. How can I get a
spread sheet that will randomly pick 50 numbers from 100 without repeating a
number?
--
kwidener

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Random number selection

I assume you mean fractions in column A? Don't understand how you got this
but you colud put 1 in A1, 2 in A2, highlight both cells and copy down.

Take a look at Ragdyer solution ..it's very neat.

HTH

"kwidener" wrote:

Hi Toppers,
I tried this suggestion but got fractions instead. Did I leave out a step?
--
kwidener


"Toppers" wrote:

One way

Put numbers 1-100 in cells A1 to A100 (type 1 in A1, hold Ctrl and copy down
to A100)
Put "=RAND()" (no quotes) in column B and copy down

Highlight columns A& B, select SORT ... by Column B and select first 50 from
column A.

If questions are in table in Excel, you could use VLOOKUP to extract
questions.

HTH

"kwidener" wrote:

I am a Taining Coordinator for a major company. I am setting up
certification boadrs that require questioning of applicants. I have a bank
of 100 questions to choose from. I only want to ask 50. How can I get a
spread sheet that will randomly pick 50 numbers from 100 without repeating a
number?
--
kwidener



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Random number selection

Toppers, Hi, I found that I had entered the formular in wrong. After
crrrecting the formular, It worked Great. Thanks for keeping in touch with
this novice formular writter. I am also going to try the other trick.
--
kwidener


"Toppers" wrote:

I assume you mean fractions in column A? Don't understand how you got this
but you colud put 1 in A1, 2 in A2, highlight both cells and copy down.

Take a look at Ragdyer solution ..it's very neat.

HTH

"kwidener" wrote:

Hi Toppers,
I tried this suggestion but got fractions instead. Did I leave out a step?
--
kwidener


"Toppers" wrote:

One way

Put numbers 1-100 in cells A1 to A100 (type 1 in A1, hold Ctrl and copy down
to A100)
Put "=RAND()" (no quotes) in column B and copy down

Highlight columns A& B, select SORT ... by Column B and select first 50 from
column A.

If questions are in table in Excel, you could use VLOOKUP to extract
questions.

HTH

"kwidener" wrote:

I am a Taining Coordinator for a major company. I am setting up
certification boadrs that require questioning of applicants. I have a bank
of 100 questions to choose from. I only want to ask 50. How can I get a
spread sheet that will randomly pick 50 numbers from 100 without repeating a
number?
--
kwidener

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
same number appears in a random number generator Carmel Excel Worksheet Functions 4 May 28th 06 12:22 AM
random number Hookster23 Excel Discussion (Misc queries) 2 April 28th 06 06:20 AM
Random letter and number generator Marie1uk Excel Worksheet Functions 4 January 23rd 06 06:04 PM
random number with text T Harris Excel Worksheet Functions 10 December 30th 05 04:34 PM
Random Number Questions Greegan Excel Worksheet Functions 1 January 5th 05 02:00 AM


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