Excel Lab 5

Excel Lab 5 … Marble Drawing Simulation
Objective: create an excel page that simulates choosing 2 marbles without replacement from a bag with
14 – 24 marbles (your choice) of 3 different colors. You can have any number of each color!
Conditionally format 2 cells to appear as the colors that are chosen. Create a chart and a graph that
automatically keep track of the experimental results and theoretical expectations (as shown below).
Necessary skills:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
The RAND function =RAND() … returns a decimal between 0 and 1
The IF function =IF(condition, if true, if false)
The OR function =OR(condition, condition, condition, …)
The AND function =AND(condition, condition, condition, …)
The VLOOKUP function =VLOOKUP(value, table, index number)
Creating Macros
Paste Special: values
Clear Contents
Calculating Theoretical Probability using short-cuts with combinations
Conditional Formatting
sd = sqrt (npq) ; where n = # trials, p = probability of success, q = probability of failure
Due: email your excel document to me saved with 280+ trials. Include a calculation in your email for the
standard deviation for the largest discrepancy between your experimental and theoretical numbers.
Excel should be professional in appearance and minimize extraneous distractions with macros.
Due Date: [email protected] by 2/28