Hello
Could anyone give me some advice on how to set up a lotto checker. We do a lotto bingo in work excluding the bonus ball. 100 people playing and takes ages to check. With it being a bingo it can go on for many weeks until it is won. Thank you
Hello
Could anyone give me some advice on how to set up a lotto checker. We do a lotto bingo in work excluding the bonus ball. 100 people playing and takes ages to check. With it being a bingo it can go on for many weeks until it is won. Thank you
Last edited by AliGW; 05-30-2021 at 03:39 AM.
Administrative Note:
Welcome to the forum.
We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.
Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).
Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.
(Note: this change is not optional. As you are new, I have done it for you today.)
Are you really using the ancient Excel 2003 or the newer MS365? If the latter, please update your forum profile.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
I have a solution sample , should work with excel 2003 , as only uses countif() and conditional formatting , 2 rules
I may be possible to do this with a sumproduct to see if the person range exist in the lotto results
how it works
In column A is the name of the person
In column B to F is the Bingo card for each person, I dont know how many numbers will be on a card - so this range would be extended to however many numbers you want on a bingo card
Then the Lotto - 6 numbers are entered in the range M to R (this will change if bingo card extended)
Now we need to check if the Bingo Card List , exists in any of the Lotto results range
Person 1 , bingo card = B2:F2 do ALL those number exist in the results range M2:R100 , row may need to be extended in lotto Results , not sure how many weeks it runs for
Maybe able to use some sort of sumproduct - but havent worked that out
So i added a Sheet 2 , which will mirror the Bingo card entries
On this sheet we test the corresponding cell in sheet 1 and see if that value exists
Sheet 2 B2 = =IF(COUNTIF(Sheet1!$M$2:$R$100,Sheet1!B2)>0,1,0)
if B2 exista in the lotto results then a 1 is produced
We get a matrix of where numbers match
Now we can use this in Sheet 1 column I - to Call Bingo using a SUM()
=SUM(Sheet2!B2:F2)=5
for Bingo - there needs to be a 1 in all the bingo card cells for that person.
Conditional Formatting
2 rules ,
1 rule for yellow (could be any colour) for where a number in the bingo card matches the results.
=AND(B2<>"",COUNTIF($M$2:$R$100,B2))
The AND(B2<>"" stops Blanks matches
1 rule for RED (could be any colour) where a complete ROW in the bingo card matches the results.
=SUM(Sheet2!$B2:$F2)=5
hope that gets you started
Last edited by etaf; 05-30-2021 at 04:07 AM.
Wayne
if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here
If you have a solution to your thread - Please mark your thread solved do the following: >
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
Give the attached a trial.
Put the draw numbers in range ("J2:O2").
Press the check button.
The numbers drawn will show in column "H"
The names of those drawing (six, five, etc.,...) will show on sheet 2.
No guarantees give as not fully tested.
torachan.
Thanks etaf,
Works very well. Thank you. Couple of tweaks to get it all on One page, but excellent. Only thing I have added is to have 6 numbers and an IF formula in another column so when a player has all six numbers "Winner" appears in the column. This ends that game, delete the Lotto numbers and we are off again.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks