+ Reply to Thread
Results 1 to 4 of 4

Random Question Paper Generator

  1. #1
    Registered User
    Join Date
    04-23-2013
    Location
    Shrewsbury, England
    MS-Off Ver
    Excel 2007
    Posts
    44

    Random Question Paper Generator

    Greetings,

    I am in the process of creating a random question paper and answer sheet generator. Tab 1 has the questions (ie 1. what is ....) in column A and the answers in column B. I have managed to generate 50 random questions out of 500 in column C (using - "=INDEX(A2:A500,ROUND(RAND()*COUNTA(A2:A500),0))". I copy the cell values from column C to tab 2 as a question paper.

    1. I need help in stopping duplicate quetions on tab 1 column C in the above formula.
    2. I dont know how the get the corresponding answers to questions from column B to column D. I then plan to copy the cell values from column D on tab 1 to tab 3 to give an answer paper.

    These formulas are easy when you know how!! Can anyone help with this one? Many thanks in advance.
    Rgds
    Harry

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Random Question Paper Generator

    There might be a better way, but the attached will work. The first column is a random number, and the second column is a rank for each Question, based on the random number. That way each question has a unique number between 1:500, and is randomly assigned.
    Attached Files Attached Files
    Please click the * icon below if I have helped.

  3. #3
    Registered User
    Join Date
    04-23-2013
    Location
    Shrewsbury, England
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: Random Question Paper Generator

    Melvinrobb, Thank you very much for this solution. Works fine in the format that I had in mind and removed one or two potential issues that I had in the back of my mind too. I love this forum!! Rgds Harry

  4. #4
    Registered User
    Join Date
    12-01-2020
    Location
    INDIA
    MS-Off Ver
    2010
    Posts
    1

    Re: Random Question Paper Generator

    Hello Harry,

    As per your query you need to be stuck in this kind of hassle, you can simply segregate the duplicate question in th

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1