How to calculate a probability of events in excel?

VVtech

New Member
Joined
Sep 1, 2010
Messages
11
I would like to run a test 1000 times where there are only two possibilities of the event to occur out of 30 outcomes. Is it possible in excel?
For example: I have 30 numbered stones in a bunch from 1 to 30. How many times I randomly pick stone no1 or 2 when I try this 1000 times?
Is it possible to execute this in excel and get a detailed answer in %? Could someone help me with a formula, please?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
If you put this formula in a cell:

=INT(RAND()*30)+1

...it will give you a random number between 1 and 30. If you put the equation in 1000 cells, it will give you a 1000 numbers between 1 and 30. Count how many times you get a 1 or a 2 and divide that by 1000.

But there is a 1 in 30 chance you will pick a 1. There is a 1 in 15 chance you will pick a 1 or 2. That is about 6.7% of the time.
 
Upvote 0

Forum statistics

Threads
1,215,111
Messages
6,123,159
Members
449,098
Latest member
Doanvanhieu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top