I'm creating a spreadsheet to generate Lottery Ticket numbers. Why? To settle a bet.
Randbetween(1,49) is great for 1 number but I need 6 NON-Matching numbers withing the range.
I've gotten around this for now by generating 12 numbers and using if then statements to find the first 6 unique numbers but I don't think this method will satisfy my sceptics.
Is there a simple formula to generate 6 distinct, non-matching numbers within a range? (1 - 49)
*******************************************************
Occam's Razor - All things being equal, the simplest solution is the right one.
Randbetween(1,49) is great for 1 number but I need 6 NON-Matching numbers withing the range.
I've gotten around this for now by generating 12 numbers and using if then statements to find the first 6 unique numbers but I don't think this method will satisfy my sceptics.
Is there a simple formula to generate 6 distinct, non-matching numbers within a range? (1 - 49)
*******************************************************
Occam's Razor - All things being equal, the simplest solution is the right one.