excel 2002

anon125

Active Member
Joined
Feb 14, 2008
Messages
392
lottery. i can get the rows of 6 numbers that have won before.
how do i check if any set of 6 numbers (or maybe 5) have won more than once?

than if none have then i should not choose a set of numbers that have won. how do i do that?

In excel 2002
how do i post a spreadsheet in this forum?

3724 rows of numbers so far.

thanks all
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hi there.
Apart from the observation that as the lottery is random, the chance of the same combination again is the same as if it hadnt come before, you could create a 'helper column'. Assuming the numbers from each lottery week ar in columns A to F and in ascending order, Place a formula in column G concatenating A to F. this would be: =CONCATENATE(A1,B1,C1,D1,E1,F1)
Then do the same concatenation with the numbers you want to check. Finally use this formula to see how many times the combination has come up: COUNTIF(G:G,N1) - this assumes your concatenated trial number is in column N1.
If you want to go down to 5 values, create 6 helper columns, concatenating 5 of the 6 numbers. You would then use countif against that whole set of numbers.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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