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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,215,034
Messages
6,122,782
Members
449,095
Latest member
m_smith_solihull

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