I am trying to play a set of numbers within a lottery game of my state and would like to try my luck at highest frequency set (combination) of numbers.
I have tried to sort each column of separate numbers but this doesn't capture those set of numbers that have a different sequence and therefore fall in a different column.
I then tried to concatenate everything and use parsing to identify highest frequency of 2,3 and 4 sets(if available) of combinations.
I attached the same data set as below as a picture so you could see the highlighted pairs.
Thanks for looking and Best of luck of your playing the lottery
| Date | Num1 | Num2 | Num3 | Num4 |
| 5/14/2024 | 24 | 36 | 46 | 2 |
| 5/9/2024 | 5 | 10 | 14 | 23 |
| 5/7/2024 | 7 | 1 | 13 | 46 |
| 5/5/2024 | 9 | 2 | 1 | 5 |
| 5/3/2024 | 11 | 42 | 14 | 69 |
| 4/8/2024 | 36 | 38 | 2 | 69 |
| 5/13/2024 | 1 | 13 | 18 | 20 |
| 4/27/2024 | 17 | 14 | 20 | 1 |
| 4/25/2024 | 19 | 69 | 33 | 35 |
| 4/23/2024 | 21 | 12 | 23 | 25 |
| 4/21/2024 | 23 | 14 | 1 | 5 |
| 4/19/2024 | 25 | 16 | 29 | 31 |
| 4/17/2024 | 27 | 18 | 1 | 5 |
| 4/19/2024 | 25 | 21 | 13 | 23 |
Ideal Output:
| Num1 | Num2 | Num3 | Num4 | Frequency |
| 2 | 36 | | | 2 |
| 1 | 13 | | | 2 |
| 1 | 5 | | | 3 |
| 21 | 23 | 25 | | 2 |