Lottery verification

fvisions

Board Regular
Joined
Jul 29, 2008
Messages
191
Office Version
  1. 365
Platform
  1. Windows
I have an excel program where I count the numbers for the past year then use the count to pick my lottery numbers. I have won small amounts for the past year every week but never amounts over $100 so now I would like to refine my program to look at the past years drawings and compare it to my combination of numbers to see where I need to twick my selection. I will try and setup an example of the data info below.
Winning numbers listed as:
Date 1 2 3 4 5 Ball
11/7/19 9 10 15 44 48 6

My ticket numbers; 8 10 15 43 52 5

I want to compare my numbers against winning numbers listed in A2:G106 to see on which week my numbers in this full set appeared, example in week 10/17 the 8, 10, & 52 appeared.
Can someone help with a vba to something to compare the full data set (col A - G) to a set of 5 numbers together?
Thank you in advance if you can. April
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
if you look at lottery odds it becomes apparent your wins are pure chance, once you cover off every potential number set you will win all the prizes but the more winners the less the return
 
Last edited:
Upvote 0
Yes and No in my agreement with you. But I dont want to use this forum to debate the odds of the lottery, I want to use this forum to twick my programming, the thought process is all my own. Once I win the Jackpot, I will let you know, in the mean time thank you for opinion.
 
Upvote 0

Forum statistics

Threads
1,223,880
Messages
6,175,154
Members
452,615
Latest member
bogeys2birdies

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