Share via

Random selection help?

Anonymous
2024-09-06T15:07:46+00:00

I have a conundrum, I have 168 room numbers that I have to randomly select from 14 rooms each month over the course of 12 months to perform maintenance checks. I am using the Random function but the issue I have is the room numbers keep getting rearranged after they have been plotted out over the course of 12 months. Once the selection is made I need the room numbers to stay put. What can I do in a formula or function that will keep the room numbers from reshuffling?

Microsoft 365 and Office | Excel | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2024-09-08T03:52:52+00:00

    Thank you for your reply. What if an IF statement was placed in the formula saying like IF(A3=G, Do Nothing, otherwise process the random select statement.. G in A3 meaning I approve of the selection made. This would allow for random selection of remaining room numbers but not to include rooms already selected before. In my case, each 14 selected represent the amount needed for each month. IE., Jan = 14, Feb = 14 and so on. The random selection contains until no more 14 are selectable.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-09-08T03:42:49+00:00

    Thank you for your reply. What if an IF statement was placed in the formula saying like IF(A3=G, Do Nothing, otherwise process the random select statement.. G in A3 meaning I approve of the selection made. This would allow for random selection of remaining room numbers but not to include rooms already selected before. In my case, each 14 selected represent the amount needed for each month. IE., Jan = 14, Feb = 14 and so on. The random selection contains until no more 14 are selectable.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-09-06T15:52:28+00:00

    Hi Carl,

    After entering the RANDOM formula is a cell, Press F9 instead of Enter

    Regards

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-09-06T15:49:17+00:00

    Copy the formulas and paste values.

    Was this answer helpful?

    0 comments No comments