
- 180 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
Excel Simulations
About this book
Covering a variety of Excel simulations, from gambling to genetics, this introduction is for people interested in modeling future events, without the cost of an expensive textbook. The simulations covered offer a fun alternative to the usual Excel topics and include situations such as roulette, password cracking, sex determination, population growth, and traffic patterns, among many others.
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weâve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere â even offline. Perfect for commutes or when youâre on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Excel Simulations by Gerard M. Verschuuren in PDF and/or ePUB format, as well as other popular books in Computer Science & Desktop Applications. We have over one million books available in our catalogue for you to explore.
Information
Genetics
20. Chromosomes
What the simulation does
Open file 3-Genetics.xlsx on sheet âChromosomes.â This simulation just shows what the probability is that an individual still has chromosomes derived from one particular grandparent. Since we have 23 pairs of chromosomes, it is most likely that we have 11 or 12 chromosomes that were handed down to us from one particular grandparent, two generations agoâactually a 16% chance. But the outcome can vary between no chromosomes at all or all 23 chromosomes togetherâbut the extremes are very unlikely (see columns M and N).
The basic idea is that parents randomly contribute part of their genetic materialâchromosomes, genes, and DNAâto their children (and grandchildren, etc.). As a consequence, genetics, the science of inheritance of traits and characteristics, is modeled probabilistically.

What you need to know
Humans have a double set of 23 chromosomes. Their egg cells or sperm cells contain only a single set of 23 chromosomes. After fertilization and conception, the new human being has 23 double sets againâone set from one parent and one set from the other parent.
From these 23 pairs, one set goes to the next generation again, but it is undetermined whether individual chromosomes are from grandfatherâs side or grandmotherâs side. So the new generation could have as little as 0 chromosomes or as many as 23 chromosomes from one of the four grandparents.
As an aside, the situation is much more complicated. One problem is that chromosomes do not remain identical during the formation of reproductive cells, but they can exchange parts between the two of a pairâwhich is called crossing-over or recombination. On this sheet, we stay clear of that issue.
In addition to the function BINOMDIST (see Simulation 9), we will also use the new function BINOM.INV in this simulation. There is no pre-2010 version of this function, so if you use a file with this function in 2007, you will get an error message. In Excel 2007, an alternative would be CRITBINOM (see Simulation 19).
What you need to do
1. Place in cell B2:B1001: =BINOMDIST(A2,23,0.5,0)/100. BINOMDIST needs to know the number of âsuccessesâ (running from 0 to 23 in column A), out of 23 trials (23 chromosomes), with a 50% probability of âsuccessâ in each trial, and with a non-cumulative setting in our case. Divide by 100.
2. Place in cells I2:I1001: =BINOM.INV(23,0.5,RAND()). The last argument is a criterion value (alpha) between 0 and 1.
3. Place in cell L2: =AVERAGE(I:I).
4. Place in cell M2: =COUNTIF(I:I,â<3â).
5. Place in cell N2: =COUNTIF(I:I,â>20â).
6. Select K2:N22 and start a Data Table with no row input and an empty cell (say, K1) as column input: {=TABLE(,K1)}.
7. Give range M2:N22 conditional formatting: Cell Value > 0.
8. When the sheet recalculates (Sh F9), notice how rare it is that descendants have received less-than-3 or more-than-20 chromosomes from a grandparent (in columns M and N).
21. Sex Determination
What the simulation does
Open file 3-Genetics.xlsx on sheet âSexDetermination.â This sheet simulates what happens when a father (XY) and a mother (XX) have one descendant, who has in turn another descendant, and so forth. It is like a family tree.
If the descendant is a female (XX), that cell gets marked with a color. If the descendant still has the original Y-chromosome (Yâ) from the (great-great-grand-) father, that chromosome is marked with an apostrophe and flagged on the left side of each descendant. In the figure below, there happen to be two female descendants, and the ancestral Y-chromosome got âlostâ by chance after two generations.

What you need to know
One of the 23 pairs of chromosomes is called the sex-chromosome pair. It either holds two similar chromosomes (XX) or two unalike chromosomes (XY; Y is actually very short ). The presence of the Y-chromosome determines maleness.
The father (XY) produces sperm cells with either an X-chromosome (50% chance) or a Y-chromosome (50% chance). If the egg cellâwhich has always one X-chromosomeâis fertilized by a sperm cell with a Y-chromosome, the descendant will be a male. So there is a 50% chance for either a male or a female descendant (in reality, there is a slight difference, though).
What you need to do
1. Place in cell D3 the following formula:
=IF(RAND()>0.5,âXXâ,IF(C1=âXYââ,âXYââ,âXYâ)). Do not forget some single apostrophes (â) inside the double quotes.
=IF(RAND()>0.5,âXXâ,IF(C1=âXYââ,âXYââ,âXYâ)). Do not forget some single apostrophes (â) inside the double quotes.
2. This formula creates a 50% chance for either a male or a female. If it is a male, we check whether the father had an ancestral Y-chromosome; if so, this male inherits it.
3. Copy this ...
Table of contents
- Gambling
- Statistics
- Genetics
- Financial
- Expansion
- Monte Carlo Simulations
- Iterations
- Extras
- Appendices