Question Bank

TCPounds

New Member
Joined
May 26, 2019
Messages
2
How do I create a question and answer bank with excel in a way that I can randomly produce tests with corresponding answer sheets? Also, I need to create multiple choice tests.

Little about me: real dumb. Basic instruction and guidance is appreciated. Thanks in advance!
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
This is difficult to answer without more information.

If you have a straight-forward (i.e., one sentence) question and a simple answer, you could put this information on one sheet with the A column being the questions and the B column being the respective answer.
Then, in the C column fill down the numbers from 1 to the number of questions. In the D column, fill down =RAND(). If you then select columns C and D and sort based on column D, you have a unique set of numbers in column C.
Note: =RAND() is volatile, so every time you run this your random numbers in D will change and you'd have to resort.

Suppose you had 20 rows of questions but you wanted a test of 10 questions. On another sheet in, say, the A1 cell (then fill down 10 rows) write: =indirect("Sheet1!A" & Sheet1!C1).
On another sheet you could put in the A column (fill down): =indirect("Sheet1!A" & Sheet1!C1) and in the corresponding B column: =indirect("Sheet1!A" & Sheet1!B1). This will give you a sheet with the question and correct answer next to it.

If you follow this, you could do something similar with multiple choice questions with the M/C answers as text in column B of the original sheet.
Column C would contain the correct answer choice, and D and E would have the sequence numbers and RAND as noted above.
Then, your test question sheet would pull from Sheet1 in the same way but pull column A then column B.

Etc., etc.

Make sense? Any help?
 
Upvote 0
A suggestion:

On, say, Sheet1, write your questions i column A. Write the corresponding correct answers in column B.
In column C create the sequential numbers from 1-however many questions you have. In column D, fill down =RAND().
Then, sort C and D based on column D. Then, in column C you will have a random selection without repeats.

On another sheet, you can create your test questions. Suppose you had 20 questions on sheet1 and you want a test with 10.
On the 2nd sheet, in column A, write: =INDIRECT("Sheet1!A & Sheet1!C1) and fill down.

Note: RAND is volatile and those random numbers will change every time you run this, so you'll need to resort the next time.

Your answer sheet can have column A as above and column B using the same idea but display column B.

M/C can be done in a similar way by having column B contain the text of your M/C options, column C the correct answer and columns D and E the sequential numbers and RAND.
The test sheet would have column A: =INDIRECT("Sheet1A!" & Sheet!D1) filled down and column B: = INDIRECT("Sheet1B!" & Sheet1!D1) and filled down.
Follow the same idea for the answer sheet.

Is this a help/idea/??
 
Last edited:
Upvote 0
.
You are most likely seeing the file because you are logged in to the site ?

In any case, when I click on the link, I receive a notice the file doesn't exist.
 
Upvote 0

Forum statistics

Threads
1,223,882
Messages
6,175,164
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top