+ Reply to Thread
Results 1 to 3 of 3

Need help checking bingo numbers

  1. #1
    Registered User
    Join Date
    07-02-2015
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    3

    Need help checking bingo numbers

    I am trying to expedite the process of checking bingo numbers output from a random string against a pre-made bingo card. The way this system works is I have one file with all of the random number strings associated with the name of the person each string was output for. I then have to copy and paste each string into a separate worksheet and run a macro to check and see if the person won a bingo. I was wondering if there was any way to expedite this process. For example, if I could just run a single macro to check all strings associated with a name that generated a new spreadsheet (or even a text file) detailing who won and how close the losers were. Also, I am currently experiencing an issue where the bingo checker is unclear as to where the matches have occurred (for example, the output will say "someone matched 4 on row 9 with 58," when there is no row 9).

    In the Bingo Numbers workbook, I have included the bingo score card and the ways someone can win. The other workbook is the bingo checker with the macro I have been using, I have been copying and pasting in names and the individual strings then hitting run.

    Here is the code:
    Please Login or Register  to view this content.
    Thank you for the help.
    Attached Files Attached Files
    Last edited by kkaistha; 07-07-2015 at 04:32 PM. Reason: Included Code

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Need help checking bingo numbers

    bingo checker is unclear as to where the matches have occurred (for example, the output will say "someone matched 4 on row 9 with 58," when there is no row 9)
    Your code is reporting the bingo_lane, not the row because of this code:
    Please Login or Register  to view this content.
    and bingo_lane can be a 9.

    A big flaw (I think) is that your search is looking at all of the text in a cell. So, when you use InStr for the Person X scores, it is looking at this entire text for a match:
    **1**14**29**21**63**
    **61**55**72**23**54**
    **65**61**19**50**11**
    **44**6**64**60**51**
    **69**12**33**31**11**
    **67**57**38**19**58**
    **13**7**65**20**68**
    it seems like that could report some false positives, but I am not sure what those rows truly mean (e.g. why does Person X have 7 'rows' of data while Lucky Pup only has one?).

    Honestly, I am not quite sure what you are trying to achieve. I understand you have a bingo card. I'm unsure what the 5 digits are for each person, but I guess these are just randomly generated, but the bingo games I have played generally go on for more than 5 rounds. Or, do they represent the row/column/diagonal/corner of a player, but then, again, why only one for a person, since there are 11 possible ways to win. Just trying to wrap my head around your inputs and outputs.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  3. #3
    Registered User
    Join Date
    07-02-2015
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    3

    Re: Need help checking bingo numbers

    So those rows were what I copied and pasted into the checker. The way it works is that the numbers are given like rewards with a player earning 5 random numbers for each task they complete. Those rows are just a result of testing certain amounts of those random number rewards. Lucky Pup was a test of one such string that was just a guaranteed win.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. lottery bingo keep track of all week numbers leading up to the winner
    By mark2966 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-26-2015, 07:28 AM
  2. [SOLVED] Checking if 20 consecutive numbers in a raw are below a given value
    By Brool in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-21-2015, 07:39 AM
  3. Replies: 2
    Last Post: 01-21-2014, 09:42 PM
  4. Checking crossword numbers
    By shanjar in forum Excel General
    Replies: 1
    Last Post: 04-07-2006, 05:15 PM
  5. [SOLVED] Bingo Lottery Winning Numbers
    By Nomis-MCSE in forum Excel General
    Replies: 1
    Last Post: 01-13-2006, 03:25 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1