Need some help figuring out how to either make up equations or vba code to figure out 1200 combinations of 43 sets of words.
What I am trying to do is merge the data into indesign on a bingo boards, 25 spaces and the center is common, so 24 boxes.
I need 24 columns and each row would be made up of a combination of the 43 sets of words below.
None of the rows can be the same. So pretty much I want the first cell to pick a random item from the list, take it away from the list, then pick another, up to the 24th cell.
Then the next row would do the same with the same 43 sets but when its done if it matches a row above it would start over again until it had 24 cells that have not shown up yet.
I would like to do this for 1200 cards but that could change to x amount less or more.
Thanks for any help.
Here is the list:
[TABLE="width: 235"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Number[/TD]
[TD]List of words[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Polar Bear[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Mom and Cub[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Bears Sparring[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Red Fox [/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Arctic Fox[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Caribou[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Buggy Love[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Arctic Hare[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Common Raven[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Ermine[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]Marten[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]Weasel[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]Willow Ptarmigan[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]Gyrfalcon[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]Peregrine Falcon[/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD]Snow Bunting[/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]Bald Eagle[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD]Muskrat[/TD]
[/TR]
[TR]
[TD]19[/TD]
[TD]Rock Ptarmigan[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]Gray Jay[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]Moose[/TD]
[/TR]
[TR]
[TD]22[/TD]
[TD]Snowy Owl[/TD]
[/TR]
[TR]
[TD]23[/TD]
[TD]Polar Bear Tracks[/TD]
[/TR]
[TR]
[TD]24[/TD]
[TD]Willows [/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]Flag Tree[/TD]
[/TR]
[TR]
[TD]26[/TD]
[TD]Lemmings[/TD]
[/TR]
[TR]
[TD]27[/TD]
[TD]Tundra Buggy Lodge[/TD]
[/TR]
[TR]
[TD]28[/TD]
[TD]Churchill Sunset[/TD]
[/TR]
[TR]
[TD]29[/TD]
[TD]Hare Tracks[/TD]
[/TR]
[TR]
[TD]30[/TD]
[TD]Fox Tracks[/TD]
[/TR]
[TR]
[TD]31[/TD]
[TD]Greywackye Rock[/TD]
[/TR]
[TR]
[TD]32[/TD]
[TD]Hudson Bay[/TD]
[/TR]
[TR]
[TD]33[/TD]
[TD]Fireweed[/TD]
[/TR]
[TR]
[TD]34[/TD]
[TD]Ithaca[/TD]
[/TR]
[TR]
[TD]35[/TD]
[TD]Buggy One[/TD]
[/TR]
[TR]
[TD]36[/TD]
[TD]Kelp/Seaweed[/TD]
[/TR]
[TR]
[TD]37[/TD]
[TD]Snow[/TD]
[/TR]
[TR]
[TD]38[/TD]
[TD]Grease ice[/TD]
[/TR]
[TR]
[TD]39[/TD]
[TD]Sun Dogs [/TD]
[/TR]
[TR]
[TD]40[/TD]
[TD]No Pants Lake[/TD]
[/TR]
[TR]
[TD]41[/TD]
[TD]Lunch Point Inukshuk[/TD]
[/TR]
[TR]
[TD]42[/TD]
[TD]Glacial Esker[/TD]
[/TR]
[TR]
[TD]43[/TD]
[TD]Fox Den[/TD]
[/TR]
</tbody>[/TABLE]
What I am trying to do is merge the data into indesign on a bingo boards, 25 spaces and the center is common, so 24 boxes.
I need 24 columns and each row would be made up of a combination of the 43 sets of words below.
None of the rows can be the same. So pretty much I want the first cell to pick a random item from the list, take it away from the list, then pick another, up to the 24th cell.
Then the next row would do the same with the same 43 sets but when its done if it matches a row above it would start over again until it had 24 cells that have not shown up yet.
I would like to do this for 1200 cards but that could change to x amount less or more.
Thanks for any help.
Here is the list:
[TABLE="width: 235"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Number[/TD]
[TD]List of words[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Polar Bear[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Mom and Cub[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Bears Sparring[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Red Fox [/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Arctic Fox[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Caribou[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Buggy Love[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Arctic Hare[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Common Raven[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Ermine[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]Marten[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]Weasel[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]Willow Ptarmigan[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]Gyrfalcon[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]Peregrine Falcon[/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD]Snow Bunting[/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]Bald Eagle[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD]Muskrat[/TD]
[/TR]
[TR]
[TD]19[/TD]
[TD]Rock Ptarmigan[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]Gray Jay[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]Moose[/TD]
[/TR]
[TR]
[TD]22[/TD]
[TD]Snowy Owl[/TD]
[/TR]
[TR]
[TD]23[/TD]
[TD]Polar Bear Tracks[/TD]
[/TR]
[TR]
[TD]24[/TD]
[TD]Willows [/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]Flag Tree[/TD]
[/TR]
[TR]
[TD]26[/TD]
[TD]Lemmings[/TD]
[/TR]
[TR]
[TD]27[/TD]
[TD]Tundra Buggy Lodge[/TD]
[/TR]
[TR]
[TD]28[/TD]
[TD]Churchill Sunset[/TD]
[/TR]
[TR]
[TD]29[/TD]
[TD]Hare Tracks[/TD]
[/TR]
[TR]
[TD]30[/TD]
[TD]Fox Tracks[/TD]
[/TR]
[TR]
[TD]31[/TD]
[TD]Greywackye Rock[/TD]
[/TR]
[TR]
[TD]32[/TD]
[TD]Hudson Bay[/TD]
[/TR]
[TR]
[TD]33[/TD]
[TD]Fireweed[/TD]
[/TR]
[TR]
[TD]34[/TD]
[TD]Ithaca[/TD]
[/TR]
[TR]
[TD]35[/TD]
[TD]Buggy One[/TD]
[/TR]
[TR]
[TD]36[/TD]
[TD]Kelp/Seaweed[/TD]
[/TR]
[TR]
[TD]37[/TD]
[TD]Snow[/TD]
[/TR]
[TR]
[TD]38[/TD]
[TD]Grease ice[/TD]
[/TR]
[TR]
[TD]39[/TD]
[TD]Sun Dogs [/TD]
[/TR]
[TR]
[TD]40[/TD]
[TD]No Pants Lake[/TD]
[/TR]
[TR]
[TD]41[/TD]
[TD]Lunch Point Inukshuk[/TD]
[/TR]
[TR]
[TD]42[/TD]
[TD]Glacial Esker[/TD]
[/TR]
[TR]
[TD]43[/TD]
[TD]Fox Den[/TD]
[/TR]
</tbody>[/TABLE]