FreakyGirl
Member
Hello.
we do an annual online raffle in which a player can only win once. if a winners' ticket is drawn again, we toss it & draw another ticket.
it was pointed out to me that by removing the winners other tickets from the 'raffle box' it prevents duplicate winners. du-uh me.
however, its not that simple because of our system of 'drawing' the winners from the raffle box.
i can do it, with alot of array formulas (20 or so) but would rather have a better solution. my knowledge of excel is limited, & i usually get something working by going about it using unnecessary long formulas. the 1 array is slowing the sheet down, i cant imagine what 20 would do!
right now i have the worksheet bypassing previous winning tickets. works great. with each new draw, winning tickets are 'skipped'. but with each new draw the formula gets longer to accomidate for the new winning ticket. the worksheet is set up for 25 winners. the formula for the 25th winner is:
its a really long formula but i dont know how to get it to work any other way. i dread trying to come up with a formula to extract all the other tickets from the winners. there has to be an easier way.
for the first 5 winners from last year... that would be 227 tickets to remove alone!!
is there way to have a formula say if a number is present in this column then skip it? the column would prob be at least 1000 numbers.
thanks in advance,
FreakyGirl
we do an annual online raffle in which a player can only win once. if a winners' ticket is drawn again, we toss it & draw another ticket.
it was pointed out to me that by removing the winners other tickets from the 'raffle box' it prevents duplicate winners. du-uh me.
however, its not that simple because of our system of 'drawing' the winners from the raffle box.
i can do it, with alot of array formulas (20 or so) but would rather have a better solution. my knowledge of excel is limited, & i usually get something working by going about it using unnecessary long formulas. the 1 array is slowing the sheet down, i cant imagine what 20 would do!
right now i have the worksheet bypassing previous winning tickets. works great. with each new draw, winning tickets are 'skipped'. but with each new draw the formula gets longer to accomidate for the new winning ticket. the worksheet is set up for 25 winners. the formula for the 25th winner is:
Code:
=IF(AND(CN3<>"",OR(CM3=$CP$11-1,CM3=$CP$12-1,CM3=$CP$13-1,CM3=$CP$14-1,CM3=$CP$15-1,CM3=$CP$16-1,CM3=$CP$17-1,CM3=$CP$18-1,CM3=$CP$19-1,CM3=$CP$20-1,CM3=$CP$21-1,CM3=$CP$22-1,CM3=$CP$23-1,CM3=$CP$24-1,CM3=$CP$25-1,CM3=$CP$26-1,CM3=$CP$27-1,CM3=$CP$28-1,CM3=$CP$29-1,CM3=$CP$30-1,CM3=$CP$31-1,CM3=$CP$32-1,CM3=$CP$33-1,CM3=$CP$34-1)),CM3+2,IF(CM3=$A$1,$B$1,CM3+1))
its a really long formula but i dont know how to get it to work any other way. i dread trying to come up with a formula to extract all the other tickets from the winners. there has to be an easier way.
for the first 5 winners from last year... that would be 227 tickets to remove alone!!
is there way to have a formula say if a number is present in this column then skip it? the column would prob be at least 1000 numbers.
thanks in advance,
FreakyGirl