Well, as you play lottery, you probably have some spare time.
In attached file there is a macro which shall (if computer do not say "no!" before it gives you whole list) do this.
I tested it for smaller samples - 6 numbers out of 20 - 30 - runs fine, for more expect loooong times.
Of course it could be optimized. But for me it is rather a toy or a kind of "proof of concept" than a real tool so will not spend time on it.
On my computer (not so special, 3 yrs old laptop):
For 6 of 20: runtime ca. 7 seconds,
6 of 30: ca. 280 seconds (yes, almost 5 minutes!)
You can expect for 6 of 40 some 1 hour.
I'd do this step to check if it is working.
If yes - clear the workbook, and let it try for whole 6 of 60.
It shall finish in some 42 hours
But don't blame me if it stops after 39 hrs saying "out of memory" or something like that
Do not heasitate to let us know of the result (but of course do not post the output workbook - will be huge!).
Bookmarks