Roulette Excel Spreadsheet Betting Tracker using IF Formula

EJ Fly

New Member
Joined
Jul 30, 2015
Messages
6
Hi,
I'm trying to create a basic excel formula based on red/black bets on roulette. The basic layout is currently like this:

ABCDEF
1Bet RoundRed StakeBlack StakeBet OutcomeBet Profit/LossRunning Balance
2Round 111Black00
3Round 221Black-1-1
4Round 341Black-2-3
5Round 481Red1512

<tbody>
</tbody>



I can't quite figure out what the formula should be in column E so the IF argument can make a calculation based on whether the Bet Outcome was Red or Black. I thought it would have been this:

=IF(D2="Black", (C2*2-B2)), IF(D2="Red", (B2*2-C2), 0)
But it comes up with a #VALUE ! error.

Can anyone help?

Thanks,
Stuart
 
Last edited:

Eric W

MrExcel MVP
Joined
Aug 18, 2015
Messages
9,177
Sorry, didn't account for a Green roll:

=2*(D2="red")*B2+2*(D2="black")*C2-B2-C2
 

kweaver

Well-known Member
Joined
May 8, 2018
Messages
868
Office Version
365, 2010
Isn't Round 3 a -3 because you lose 4 and win 1?
Isn't Round 4 a 7 because you win 8 and lose 1?
 
Last edited:

EJ Fly

New Member
Joined
Jul 30, 2015
Messages
6
Thanks for the replies guys, really appreciate it!

Eric, I think that works a treat! I totally forgot about the green, would you say that's the easiest way to incorporate it?

kweaver, yes you're right by your calculations, this is why I'm on here because formulas and arithmetic is not always my strong suit! ha
 

Eric W

MrExcel MVP
Joined
Aug 18, 2015
Messages
9,177
Yes, I think that works pretty good. I think the formula is pretty easy to follow:

=2*(D2="red")*B2+2*(D2="black")*C2-B2-C2

The part in blue subtracts out both of the red and black stakes. Then if red wins, the part in red adds back twice the red stake (your bet plus the winnings), and the same thing for the black part. If you want to allow someone to bet on green, it should be easy enough to see how to add that too. But for now, if it comes up double zero, then you lose both your red and black stakes.

Glad we could help!
:)

 

Forum statistics

Threads
1,086,016
Messages
5,387,234
Members
402,053
Latest member
gui24

Some videos you may like

This Week's Hot Topics

Top