LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Neil Goldwasser
 
Posts: n/a
Default Generating (in a random order)each number once from a given number

I am trying to make a self-marking interactive times table test for my
students.

The aim is that they can choose the times table by entering a number into
one cell, and Excel will generate a set of questions to match. These need to
be in a random order so as to test rote memory rather than the sequence of
that times table. So

7 x 3
11 x 3 etc...
rather than
1 x 3
2 x 3 etc...

I have made my sheet, and I just need to rejig it so that the first number
in the above calculations is 1) randomly generated and 2) is only generated
once (I want them to test up to 12 x ..., doing each question once only (so
do not want, for example 2 x 3 coming up twice as this would mean the second
one takes up the place of the question that will be "missing").

So I need the first cell e.g. A1 to randomly generate (with fair
probability) a number from the set {1,2,3,4,5,6,7,8,9,10,11,12} so that the
line will form e.g. 7 x 3.

The second cell A2 can't duplicate, so would need to pick randomly from the
set {1,2,3,4,5,6,8,9,10,11,12} - so that it now cannot pick the number 7 that
has already come up.

And so on and so on until the last cell A12 can only pick the last remaining
number that has not already been generated.

Ideally, I would like the numbers to then remain fixed so that the sheet can
mark what they have done as right or wrong, and only generate a new set of 12
questions once a button is pressed, or a different value is entered somewhere
or whatever (as long as they choose when it "recalculates" and Excel doesn't
do it every time they enter an answer).

Does anybody have a solution for this teacher who is desperately trying to
do what he can for his students? I'd be really grateful!

Thanks to everyone in advance, Neil Goldwasser
 
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
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
random number generation DSpec Excel Worksheet Functions 7 October 3rd 05 01:41 PM
How can I get Positive values only from the random number generat. Markw3700 Excel Discussion (Misc queries) 1 January 21st 05 12:37 AM
Running Total of Random Number Mr H Excel Discussion (Misc queries) 4 January 19th 05 10:35 PM
random number generation kurtrambis Excel Worksheet Functions 1 November 1st 04 09:23 PM


All times are GMT +1. The time now is 07:09 AM.

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"