Hi. I'm using Excel 2010 on an XP machine.
What I have setup is a grid (C5:H325) where everyone enters lottery numbers of their choice, between 1 and 49, and in another grid (E333:K352) is where the drawn numbers are entered.
I then have off to the side in columns N325 through S325 is "=COUNTIF(winningnumbers,C325)" with the column letter changing as necessary.
What's happening is when I enter drawn numbers in the (E333:K352) grid the countif will count the number if it appears and place the total count in cell M325.
What it is not supposed to be doing and what I'm hoping for a solution for is that the countif stops counting after it has counted the number once. For it not to count duplicates. So if a number shows up 5 times from 5 draws, it's only counted once. See the number 50 & 52 below.
I've searched on this form and found many lottery forms but none that have my dilemma. Searching Google, the only thing that I could find that sounded like it might help was from the website Count Repeated Items Once. Count One Occurrence Formula but I just couldn't seem to get it to go.
Any help would be appreciated. Thank You.
What I have setup is a grid (C5:H325) where everyone enters lottery numbers of their choice, between 1 and 49, and in another grid (E333:K352) is where the drawn numbers are entered.
I then have off to the side in columns N325 through S325 is "=COUNTIF(winningnumbers,C325)" with the column letter changing as necessary.
What's happening is when I enter drawn numbers in the (E333:K352) grid the countif will count the number if it appears and place the total count in cell M325.
What it is not supposed to be doing and what I'm hoping for a solution for is that the countif stops counting after it has counted the number once. For it not to count duplicates. So if a number shows up 5 times from 5 draws, it's only counted once. See the number 50 & 52 below.
I've searched on this form and found many lottery forms but none that have my dilemma. Searching Google, the only thing that I could find that sounded like it might help was from the website Count Repeated Items Once. Count One Occurrence Formula but I just couldn't seem to get it to go.
Any help would be appreciated. Thank You.