Quick and dirty buzzword bingo cards in Excel

Date:October 20, 2005 / year-entry #313
Tags:code
Orig Link:https://blogs.msdn.microsoft.com/oldnewthing/20051020-11/?p=33693
Comments:    5
Summary:Jensen Harris's brief example of using Excel's random number generator reminded me that I had need for the random number generator recently myself: Generating buzzword bingo cards. At the Battlestar Galactica party, our hosts needed to create some Battlestar Galactica-themed buzzword bingo cards and asked me to help out. Here's how I did it: Build...

Jensen Harris's brief example of using Excel's random number generator reminded me that I had need for the random number generator recently myself: Generating buzzword bingo cards.

At the Battlestar Galactica party, our hosts needed to create some Battlestar Galactica-themed buzzword bingo cards and asked me to help out. Here's how I did it:

  1. Build a list of words and phrases in column A.
  2. In column B, next to each word or phrase, enter "=rand()". You can use Jensen's "block entry" trick.
  3. Build your bingo card elsewhere on the sheet.
  4. In the upper left square of the bingo card, enter "=A1"; in the next square, "=A2", and so on.
  5. Highlight cell B1.
  6. Click the "Sort ascending" button on the toolbar.
  7. Print your bingo card.
  8. Repeat steps 6 and 7 until satisfied.

It's not beautiful, but it gets the job done.


Comments (5)
  1. Carlos says:

    I use Excel for the otherwise tedious job of pasting static initialization data into C/C++/C# programs.

    Copy the data into a column (or columns) in Excel. In an adjacent column, create an expression that adds quotes, curly brackets, commas, etc. to the first data item.

    Duplicate the expression down its column and copy the resulting data into the C program.

  2. Dennis Jenkins says:

    I wrote a little program to stream STDIN/STDOUT to and from the clipboard. I can then highlight a block of variables or code, copy to the clipboard, alt-tab to a CMD shell and type like:

    clipboard -o | awk "{ print "{" $3 "," $5 "}," }" | clipboard -i

    Or whatever. sort, awk, sed, grep, uniq, perl all come in handy here.

    I never though of using excel though. Interesting idea.

  3. bramster says:

    "Canned" random number generators are dangerous things. Keno games at a casino (if I recall, in Montreal, Quebec) have been broken because the programmers were lazy, and used the random function supplied with the program.

    There was a really good pseudo-random-number generator discussion and code in the April or May 1989 issue of Byte.

    It was random enough so that there were duplicate numbers created in the sequence, but pseudo enough so that with the same seeds, the same sequence was produced.

  4. I’m reminded by the old adage "When all you have is a hammer, everything looks like a nail."

  5. Isaac Lin says:

    I confess — I wrote a Perl CGI script to generate HTML buzzword bingo cards, checking for uniqueness, too…

Comments are closed.


*DISCLAIMER: I DO NOT OWN THIS CONTENT. If you are the owner and would like it removed, please contact me. The content herein is an archived reproduction of entries from Raymond Chen's "Old New Thing" Blog (most recent link is here). It may have slight formatting modifications for consistency and to improve readability.

WHY DID I DUPLICATE THIS CONTENT HERE? Let me first say this site has never had anything to sell and has never shown ads of any kind. I have nothing monetarily to gain by duplicating content here. Because I had made my own local copy of this content throughout the years, for ease of using tools like grep, I decided to put it online after I discovered some of the original content previously and publicly available, had disappeared approximately early to mid 2019. At the same time, I present the content in an easily accessible theme-agnostic way.

The information provided by Raymond's blog is, for all practical purposes, more authoritative on Windows Development than Microsoft's own MSDN documentation and should be considered supplemental reading to that documentation. The wealth of missing details provided by this blog that Microsoft could not or did not document about Windows over the years is vital enough, many would agree an online "backup" of these details is a necessary endeavor. Specifics include:

<-- Back to Old New Thing Archive Index