Closed Thread
Results 1 to 3 of 3

Up for a challenge? Roullete simulator macro needed

  1. #1
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    452

    Up for a challenge? Roullete simulator macro needed

    Roullete betting strategy.xlsm

    I have gone as far as I think I can on formulas alone and don't know enough about macros to do the following. The whole point of this is to analyze progressive betting roulette strategies. If my steps are not clear, or even possible, please let me know thank you in advance.

    Macro steps
    instert random number between 0 and 37 into Spins sheet, number row
    consult row 158 of appropriate spin column, adjust current money, D162 appropriately
    If it was a win, take below detailed cease macro steps
    If it was a loss,
    Subtract loosings, row 158 of appropriate column from current money, D162
    Adjust all bets on the table (in Bets sheet)by the appropriate amount in row 9,
    example, if spin 8 was a loss, consult increase previous bet value
    under spin 9 prior conducting the random number for spin 9
    Macro will run continously for 50 spins unless,
    Hit a winning number,
    Not enough money to fully place next bets
    Have hit max bet, Spins D160<D164
    Ran through 50 spins without winning
    Upon coming to a reason to cease the macro,
    Fill in Summary sheet,
    Column B, win, bust (from either not having enough money to cover
    the next bet, or exceeding the table max bet, or not winning in 50 spins
    Column C, How much money do I have left? Even if I bust I will most likely have a little left, unless the
    previous bet required every last dollar
    Column D, Which spin did I finally win on, leave blank if I went bust
    IGNORE, I realized this could be done via formula!!! Column E, How much money did I win in this round, take into account additional rounds
    should factor in total money from the previous round, not money over the starting money
    example: I start with $1000, in round 1 I win $200 for a total of $1200,
    in round 2 I win $300. Column E would state that $300 for round 2, not the entire
    $500 winnings from all rounds
    Column G, How much money was I down from the start of the round until I finally won
    Column H I and have self explanatory headings

    Column J is another one I realized could be fulfilled by formula
    Last edited by Butcher1; 02-18-2014 at 11:49 PM.

  2. #2
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    452

    Re: Up for a challenge? Roullete simulator macro needed

    Anyone interested?

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Up for a challenge? Roullete simulator macro needed

    Thread posted in CS hence closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Variance Simulator
    By Jakub in forum Excel General
    Replies: 1
    Last Post: 04-08-2013, 03:47 PM
  2. Loan Simulator
    By Jaai001 in forum Excel General
    Replies: 5
    Last Post: 05-26-2011, 08:16 AM
  3. flight simulator
    By ianalexh in forum Excel General
    Replies: 1
    Last Post: 02-16-2005, 03:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1