Lottery Odds for 2 most frequent numbers out of 5 as well as the 3 most frequent numbers out of 5

rebel123

Active Member
Joined
Apr 18, 2017
Messages
348
Office Version
  1. 365
Platform
  1. MacOS
Enclosed are examples of the Florida Lotto Fantasy 5 which is 5 numbers
from 1 thru 36.

I am trying to figure out which 2 numbers appear TOGETHER the most frequently
as well as the 3 numbers that appear TOGETHER the most frequently.

The data set is.

1. All time numbers- 9260 results
2. The last 5 year numbers- 1461 results


I need = sign formulas for the areas in green.
 

Attachments

  • Screen Shot 2021-08-01 at 5.26.05 PM.jpg
    Screen Shot 2021-08-01 at 5.26.05 PM.jpg
    126 KB · Views: 39
  • Screen Shot 2021-08-01 at 5.34.54 PM.jpg
    Screen Shot 2021-08-01 at 5.34.54 PM.jpg
    139.8 KB · Views: 40
I have ab iMac so there is no ALT F11.
That is why I previously wrote:
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

1627952009268.png
 
Upvote 0

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
OK I now know how to do the process. the code has an error.

Check the image pleez
 

Attachments

  • Screen Shot 2021-08-15 at 7.47.47 PM (1).jpg
    Screen Shot 2021-08-15 at 7.47.47 PM (1).jpg
    165.2 KB · Views: 13
Upvote 0
I did a Google Search and ACTIVEX is not available on mac.... Can someone send the results by uploading it?
 
Upvote 0
Or if anyone knows the answers, please post them.
I am only looking for the 3 most common numbers and their probability.

The set has 9,260 rows so if the 3 numbers showed up 15 times, then
the probability would be 15 / 9260 = 0.00161987041
 
Upvote 0
Here are the answers. I paid someone on Fiver to run the VBA.
 

Attachments

  • Screen Shot 2021-08-19 at 8.38.58 PM.jpg
    Screen Shot 2021-08-19 at 8.38.58 PM.jpg
    79.5 KB · Views: 13
Upvote 0
Thanks @Peter_SSs I have marked this as resolved since you figured out the answer.
I marked this as resolved and solved.

Thank you!
 
Upvote 0

Forum statistics

Threads
1,223,647
Messages
6,173,544
Members
452,520
Latest member
Pingaware

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