Random numbers without duplication (5x5 grid)

Darren_workforce

Board Regular
Joined
Oct 13, 2022
Messages
146
Office Version
  1. 365
Platform
  1. Windows
Hello,

Yep it's for a US bingo card generator. The problem is we use images instead of numbers. So my 5x5 bingo grid would need to generate a random group of numbers across the 25 squares without any numbers duplicating. I've tried multiple formulas and the closest I've gotten to success is below. However, the numbers are still duplicating since I think each column (or row) is treated independently by the formula. The range of numbers has been anywhere from 30 - 50 but I am trying to randomize 75 images for our next event. Any suggestions would be greatly appreciated.

1684761570565.png


Excel Formula:
=INDEX(UNIQUE(RANDARRAY(1,5,1,75,TRUE)),SEQUENCE(5))
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
How about
Excel Formula:
=WRAPCOLS(TAKE(SORTBY(SEQUENCE(75),RANDARRAY(75)),25),5)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,117
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