Searching for a lottery number with a macro

RAM1950

New Member
Joined
Mar 2, 2020
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hello, RAM1950 here and I am a newbie with my first question. Any help is greatly appreciated. The Texas Lottery has
a 5 number game called Cash 5 with numbers 1-35 (324632 permutations) On sheet 2 column A rows are numbered
1- 324632. ROW 1 col. D =1 col. E=2 col. F=3 col. G=4 col. H=5. This goes all the way down to row 324632 where
col. D=31 col. E=32 col. F=33 col. G=34 col. H=35. In sheet 1, I would like to put a row number in R1CA and call up
matching numbers in columns D-H. from sheet 2. Right now I am using the index/match function . I have a scoring system on the
numbers in each column and score will be located R1CJ. I would like to check all permutations and find the best scoring
100 listed. Row numbers would go in column L, row 1-100. The numbers matching column L would go into columns O-S.
Is there a way to automate this? Once again, thank you for any help.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,215,529
Messages
6,125,343
Members
449,219
Latest member
Smiqer

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