Return different quantities of question types from a randarray.

baileyb103

New Member
Joined
Jan 16, 2023
Messages
26
Office Version
  1. 365
Platform
  1. Windows
Good morning,

This is a continuation from a previous question (found here). I do however now have another question about adding a feature to the sheet.

Do you know if it is possible to select 'x' amount of questions from User Group 1, 'y' amount of questions from User Group 2, 'z' amount of questions from user group 3, whilst still only selecting from the filtered options?

The reason for this is the course is progressive so they will need knowledge from previous user groups, but still focus the main efforts on the current user group, for example when they are on user group 3, they could have a 30 question paper with 5 questions from user group 1, 5 questions form user group 2, and 20 questions from user group 3.

Many thanks in advance for any help.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
It would be helpful if you could post the layout of your data.
 
Upvote 0
It would be helpful if you could post the layout of your data.
Good morning, please find attached an image of the current formula (cell J2), I would like to pick say 5 from User Group 1, 8 from user group 2 and 2 from user group 4 for example.
 

Attachments

  • Test.PNG
    Test.PNG
    82.2 KB · Views: 7
Upvote 0

Forum statistics

Threads
1,224,815
Messages
6,181,135
Members
453,021
Latest member
Justyna P

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