# Snakes and Ladders Simulation Qs

### Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

#### dave554466455

##### New Member
here's a quick and dirty worked solution i did for fun since some pals goaded me to do this... (just check tab p1 for all of the results - p2 and p3 are for the variants) -- one tiny macro just to simulate/recalc

if someone has a more elegant solution short of running it all via vba (which is really the legit way to do it), post it here, i'd be curious to see a better way of doing this via spreadsheet

i think i did it right (I pretty much got the right answers...)

https://www.dropbox.com/s/tb0zzk26j...ff worked solution (2015-10-03 1432).zip?dl=0

#### Stefyu89

##### New Member
I have tried your approch and use data table to simulate the 5000 game simulation. My answers don't match yours, at least for the very first questions. Need an expert eye to enlighten me concerning the way data table operate when it's used for simulation (an approach put forward by the missed professor Simon Benninga).

#### dave554466455

##### New Member
post your file - I'm curious how your approach deviated from mine

my approach seemed to get the right answers - I think at least

that said, don't forget that excel is kind of a silly tool for analysis like this - anyone doing something like this in a more legitimate situation would use R or at least SPSS

I have tried your approch and use data table to simulate the 5000 game simulation. My answers don't match yours, at least for the very first questions. Need an expert eye to enlighten me concerning the way data table operate when it's used for simulation (an approach put forward by the missed professor Simon Benninga).

#### Stefyu89

##### New Member
Actually we have the same answers !!! My bad !!! Thanks again for your spreadsheet !!! Learn a lot trough tackling these case studies !!!

#### ilezehuman

##### New Member
here's a quick and dirty worked solution i did for fun since some pals goaded me to do this... (just check tab p1 for all of the results - p2 and p3 are for the variants) -- one tiny macro just to simulate/recalc

if someone has a more elegant solution short of running it all via vba (which is really the legit way to do it), post it here, i'd be curious to see a better way of doing this via spreadsheet

i think i did it right (I pretty much got the right answers...)

https://www.dropbox.com/s/tb0zzk26j...ff worked solution (2015-10-03 1432).zip?dl=0
Can someone please explain to me why there are 3 pages of simulations in this excel file ?

#### dave554466455

##### New Member
if you check through the questions you'll see you need to run 3 variants to answer the questions using my method (start position, rule change, etc.)

1,102,873
Messages
5,489,435
Members
407,689
Latest member
Doublealpha

### This Week's Hot Topics

• Timer in VBA - Stop, Start, Pause and Reset
[CODE=vba][/CODE] Option Explicit Dim CmdStop As Boolean Dim Paused As Boolean Dim Start Dim TimerValue As Date Dim pausedTime As Date Sub...
• how to updates multiple rows in muliselect listbox
Hello everyone. I need help with below code. code is only chaning 1st row in mulitiselect list box. i know issue with code...
• Delete Row from Table
I am trying to delete a row from a table using VBA using a named range to find what I need to delete. My Range is finding the right cell. In the...
• Assigning to a variable
I have a for each block where I want to assign the value in column 5 of the found row to the variable Serv. [CODE=vba] For Each ws In...
• Way to verify information
Hi All, I don't know what to call this formula, and therefore can't search. I have a spreadsheet with information I want to reference...
• Active Cell Address – Inactive Sheet
How to use VBA to get the cell address of the active cell in an inactive worksheet and then place that cell address in a location on the current...