I am creating a spreadsheet with a heavy amount of probability calcs in it. I am aiming to do calculations for card drawing (specifically for MtG). I have wrestled out a hard way to do some of the math, and it turns out putting it into a spread sheet is still difficult. So there are two great ways someone could help me. Either I would like to know the elegant statistical way to solve this problem, or the way to make Excel assist me with my more brute force approach.
I want to know the odds of a card being on the top of a deck. There is a variable number of copies, and it could be in your starting hand. I completely understand how the probability will work out, but I am doing a calculation for each possible event, accounting for drawing every card (60 total). Counting out the starting hand (7 cards), that leaves 53 independent formulas where I would have to have every possible situation represented. If anyone knows the clever, statistical way to approach this, I'm all ears.
In making Excel do the leg work, I encountered the following issue:
[TABLE="class: grid, width: 600, align: center"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]7.55%[/TD]
[TD="align: center"]7.69%[/TD]
[TD="align: center"]7.84%[/TD]
[TD="align: center"]8.00%[/TD]
[TD="align: center"]...[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]=A1[/TD]
[TD="align: center"]=(1-A1)*B1[/TD]
[TD="align: center"]=(1-A1)*(1-B1)*C1[/TD]
[TD="align: center"]=(1-A1)*(1-B1)*(1-C1)*D1[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Is there a way to make this happen automatically, or somewhat automatically? This shows 4 draw, and I'll have 53. Then I have to do this 3 more times, then 3 times all over, then 2 etc. I wanted to use a range where one end was a relative ref and the other was fixed, but I didn't know how to get the extra multiplication terms to appear.
Thanks for any help you can offer!
Edit: I would prefer to use only Excel, but I was versed in VBA once upon a time. I've yet to dust off those skills recently, but if that's the only way, then I suppose it's time...
I want to know the odds of a card being on the top of a deck. There is a variable number of copies, and it could be in your starting hand. I completely understand how the probability will work out, but I am doing a calculation for each possible event, accounting for drawing every card (60 total). Counting out the starting hand (7 cards), that leaves 53 independent formulas where I would have to have every possible situation represented. If anyone knows the clever, statistical way to approach this, I'm all ears.
In making Excel do the leg work, I encountered the following issue:
[TABLE="class: grid, width: 600, align: center"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]7.55%[/TD]
[TD="align: center"]7.69%[/TD]
[TD="align: center"]7.84%[/TD]
[TD="align: center"]8.00%[/TD]
[TD="align: center"]...[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]=A1[/TD]
[TD="align: center"]=(1-A1)*B1[/TD]
[TD="align: center"]=(1-A1)*(1-B1)*C1[/TD]
[TD="align: center"]=(1-A1)*(1-B1)*(1-C1)*D1[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Is there a way to make this happen automatically, or somewhat automatically? This shows 4 draw, and I'll have 53. Then I have to do this 3 more times, then 3 times all over, then 2 etc. I wanted to use a range where one end was a relative ref and the other was fixed, but I didn't know how to get the extra multiplication terms to appear.
Thanks for any help you can offer!
Edit: I would prefer to use only Excel, but I was versed in VBA once upon a time. I've yet to dust off those skills recently, but if that's the only way, then I suppose it's time...
Last edited: