Hi Jack
Had some bonus time to work on this. I've made a few upgrades to the spreadsheet (*1). There are a few more filters
1) On a couple of the earlier filters, you can now enter the values rather than having a default set
2) When each digit is converted to binary (base 2), if all three binary digits in a given position are the same, then the permutation is filtered out. There's one for the second binary digit, and one for the third, counting from right to left. The first one determines if a number is even or odd, so that is already catered for
3) Taking all three digits as a whole, then at least m digits must have appeared in the last n draws. These are configurable.
Note that when using these filters, at least the number of draws must be selected, otherwise an error will be generated. For example, if you select to have at least two digits in the last seven draws, then at least seven draws must be selected.
4) All three digits must be different
5) Toggle a number in each position between even and odd, i.e. if the first digit in the previous draw was even, then change to odd, and vice versa. This filter on its own reduces the total number of permutations to 125, so you may want to leave this one out unless you have a lot of arrangements you want to reduce.
The Sum of digits above 13 (Y/N) filter still works, but is redundant as I've modified an earlier filter so that you can add the range of values the sum of digits must lie between.
The Nxt Draw P/F column shows the filters passed and failed by the next draw. It's a useful feature because you may decide to leave out some filters, or adjust the numbers if you feel that one filter is filtering out too many winning draws.
The Def. Prms columns have default values. I've left in the ones I've been using, so replace them with your own here.
In terms of shortcut keys, there are two extra ones.
[CTRL]+[SHIFT]+[A] - Runs the filter code (as before)
[CTRL]+[SHIFT]+ - Clears all the filter fields
[CTRL]+[SHIFT]+[C] - Copies all of the default filter values to the filter fields (saves you typing them in each time)
I've left in the best performance with the data I've been working with, so you can get an idea of how everything is working. Getting down to 2 rows with one match is the best so far, with virtually all the filters used. I’ll continue to collate data and test things and see what happens.
With the values I've been using, you will find that on a few occasions, no rows are generated. This is not a bug! It means that if you were to play with the combinations generated, there will not be many, so hopefully, in theory, less money to spend before a match.
Good luck!
(*1) https://copy.com/wmHwdpjaMDNo24Vg