Hi bloubul,
Hi bloubul,
One Reason that you could be Getting Two Different Sets of Results is that One Spreadsheet ( at Work for Example ) is Using Absolute Formulas and the Other Spreadsheet ( at Home for Example ) is Using Relative Formulas.
If you were to Copy these Formulas Across OR Down this is how the Absolute & Relative Formulas Work :-
Reference, ( Description ) & Changes to
$A$1 ( Absolute Column AND Absolute Row ) Changes to $A$1
A$1 ( Relative Column AND Absolute Row ) Changes to C$1
$A1 ( Absolute Column AND Relative Row ) Changes to $A3
A1 ( Relative Column AND Relative Row ) Changes to C3
So lets Assume that your Lotto Data is in Cells B2:G1001 ( 6 Numbers Drawn for 1,000 Draws ).
In Cells I2:I50 Enter Numbers 1 to 49.
In Cell J2 Enter the Formula :-
=COUNTIF(B$2:G$1001,$I2)
Copy this Formula ( Notice the Cell References ) Down to Cell J50.
This will give you the Numbers 1 to 49 ( in Cells I2:I50 ) and the Associated Total Number of Times Each Number has Appeared ( in Cells J2:J50 ) Since the Beginning of your Lotto. Change the Cell References Accordingly.
You can Use the Formula like this, as Per your Example :-
=COUNTIF(B$2:G$1001,1)
=COUNTIF(B$2:G$1001,2)
=COUNTIF(B$2:G$1001,3)
...
=COUNTIF(B$2:G$1001,49)
But this would Mean that you would have to Physically go through and Change the Number you are Checking, and Really, there is NO Need to do this.
Let me Know how you get on.
All the Best.
PAB
