Random Data

BroncoBryan

New Member
Joined
Jul 13, 2022
Messages
6
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
Platform
  1. Windows
I have a BINGO card with facts about people (not numbers) in each square. I would like to have a formula that would put the facts in each cell randomly so I could have several different versions of the card.

I was thinking like if I put all the facts in L2:L20 (One fact per cell). What formula would I use so that One fact about a person would display in A2, A3, and so on (the range of the card is A2:E12).

I did something similar to this years ago for a Super Bowl board and I think I remember using the Rand function and maybe Index.

Thank you.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
There might be a shorter way but so far this worked for me...

Excel Formula:
=CHOOSE(RANDBETWEEN(1,20),$L$2,$L$3,$L$4,$L$5,$L$6,$L$7,$L$8,$L$9,$L$10,$L$11,$L$12,$L$13,$L$14,$L$15,$L$16,$L$17,$L$18,$L$19,$L$20,$L$21)

Untitled.png
 
Upvote 0
Solution
Book2
ABCDEFGHIJKLM
1
2Fact16Fact1
3Fact4Fact2
4Fact7Fact3
5Fact18Fact4
6Fact8Fact5
7Fact20Fact6
8Fact3Fact7
9Fact17Fact8
10Fact15Fact9
11Fact14Fact10
12Fact11
13Fact12
14Fact13
15Fact14
16Fact15
17Fact16
18Fact17
19Fact18
20Fact19
21Fact20
22
Sheet1
Cell Formulas
RangeFormula
A2:A11A2=LET(r,RANDARRAY(20),INDEX(L2:L21,MATCH(SMALL(r,SEQUENCE(10)),r,0)))
Dynamic array formulas.
 
Upvote 0
Another option
Fluff.xlsm
ABL
1
2Fact10Fact1
3Fact9Fact2
4Fact18Fact3
5Fact11Fact4
6Fact15Fact5
7Fact16Fact6
8Fact13Fact7
9Fact14Fact8
10Fact1Fact9
11Fact2Fact10
12Fact17Fact11
13Fact12
14Fact13
15Fact14
16Fact15
17Fact16
18Fact17
19Fact18
20Fact19
Data
Cell Formulas
RangeFormula
A2:A12A2=INDEX(SORTBY(L2:L20,RANDARRAY(19)),SEQUENCE(11))
Dynamic array formulas.
 
Upvote 0
Just wondering how would one do this for the range A2:E12? Thinking there might be a repetion of facts? If not mistaken OP was looking at Range A2:E12?
 
Upvote 0
The formula I supplied can just be copied across.
 
Upvote 0
The formula I supplied can just be copied across.
Thanks... This can come in handy for myself as well one time... Guessing would just need to fix the Column and Row reference with $? Like $L$2:$L$20 ?
 
Upvote 0
Thank you all for the help. I love how everyone on here is always so willing to help.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,071
Latest member
cdnMech

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