Probability formula needed

PATSYS

Well-known Member
Joined
Mar 12, 2006
Messages
1,750
Hi everyone,

I need an efficient formula that I can copy to about 1000 rows.

The formula calculates the chances of reaching 60 years old based on the person's current age, using the following table (1st column is age, 2nd column is probability):


<30 20%
30-39 15%
40-44 10%
45-49 7.5%
50-54 5%
55-59 2.5%


So for example, the given age is 25, the chances of that person reaching 60 is 2.069% calculated as follows:

1 * (1-20%)^5 * (1-15%)^9 * (1-10%)^5 *(1-7.5%)^5 *(1-5%)^5 *(1-2.5%)^5

This formula must be applicable to any person's age.

Thanks
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Shouldn't the ^9 be ^10 as there are 10 numbers between 30-39 (endpoints included)?

Set up A1:B6 to be this table:

Code:
0	20%
30	15%
40	10%
45	7.50%
50	5%
55	2.50%

Then, with calculation ages in column D, try this in E1 and copy down:

Code:
E1=1 * (1-$B$1)^MAX(0,$A$2-D1) * (1-$B$2)^MIN(MAX(0,$A$3-D1),$A$3-$A$2) * (1-10%)^MIN(MAX(0,$A$4-D1),$A$4-$A$3) *(1-7.5%)^MIN(MAX(0,$A$5-D1),$A$5-$A$4) *(1-5%)^MIN(MAX(0,$A$6-D1),$A$6-$A$5)*(1-2.5%)^MIN(MAX(0,60-D1),60-$A$6)
 
Upvote 0

Forum statistics

Threads
1,224,746
Messages
6,180,705
Members
452,994
Latest member
Janick

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