I need to generate a list showing every possible combination of answers to several questions.
Each row in this list should be another possible combination of answers.
For example, there might be two questions (question 1 & question 2), question 1 has two possible responses (a or b), question 2 has three possible response (a, b, or c). Below is the kind of list I need showing each possible combination on a separate row:
1a, 2a
1a, 2b
1b, 2a
1b, 2b
1b, 2c
In Excel or Access or some other common tool, I'd like to specify the number of questions & number of answers for each question & get a list or table like the one above. Is this possible using VBA or something else available via MS Office or on the web?
As in:
1-2
2-3
3-5
4-2
5-2