Exam Question bank generator for different students categories

xkotx

New Member
Joined
Sep 7, 2021
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hi Guys,
Is there any chance that someone could help me with creating an excel question bank generator for 5 different student category ? Some questions can be applicable to two or three different student category.

For now my "data base" example looks like that:
1631009355137.png


The ideal solution would be to pick student category, for example A + C or just single A or B and that excel based on applicability(Y- yes / N-No) will produce list of questions that are applicable to that Student category and then list those questions in separate sheet? I'm not sure is something like that even possible in excel...
All help will be very appreciated.

Thank you!
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi Peter,
Version updated, thank you.
Thanks for doing that.

Now knowing that you have 365, if you are interested, your task could very easily be achieved by formulas. Here is one way. You may need to adjust the ranges in the formulas to suit your data ranges.
  • On Sheet1, mark your categories of interest as I have an example in row 3 (could be elsewhere if required) with "1"s. I have chosen categories B & D.
  • Enter the simple helper column formula in column I and copy down as far as your data goes (or further if your data might expand). This column can then be hidden if you want.
  • On Sheet2, place the single formula in E1 (no need to copy across) and the single formula in A2 (no need to copy anywhere)
Done. Now if you change where the "1"s are on the first sheet, these Sheet2 results will automatically update without the need to run a macro.

xkotx.xlsm
ABCDEFGHI
1
2QuestionABCDF
311
4Chapter 2.5Question 1YYYYYYY
5Chapter 2.8Question 2NNNYNNY
6Chapter 2.98Question 3NNNYNNY
7Chapter 3.5Question 4NYNYNYY
800
900
Sheet1
Cell Formulas
RangeFormula
I4:I9I4=CONCAT(IF(C$3:G$3=1,C4:G4,""))


xkotx.xlsm
ABCDEFGHI
1QuestionsCategories:BD
2Chapter 2.5Question 1
3Chapter 3.5Question 4
4
5
Sheet2
Cell Formulas
RangeFormula
E1:F1E1=FILTER(Sheet1!C2:G2,Sheet1!C3:G3=1)
A2:B3A2=FILTER(Sheet1!A4:B100,Sheet1!I4:I100=REPT("Y",COUNTA(E1#)),"")
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,214,548
Messages
6,120,146
Members
448,948
Latest member
spamiki

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