Need to know formula to sum up 3 largest rates depending on age factor

BrittanyS

New Member
Joined
Feb 17, 2018
Messages
2
Hello,

I am making rate calculator for clients to type in their ages and the ages of their dependents to know their insurance premium. Blue Cross has the rule that subscribers only pay for the first three dependents under the age of 21. (the largest 3). These ages and rates are only a sample. Could be a variety of ages...The spreadsheet will only have slots for 8 dependents. NA means no dependent.

A sum of the three largest rates but only through ages 0 to 20. The formula should then only consider the rate for the 11, 8 & 5 yr old.

21 $532.42
21 $532.42
5 $407.30
3 $407.30
8 $407.30
11 $407.30
NA $0.00
NA $0.00


Thank you,

Brittany
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Welcome to the MrExcel board!

See if this does what you want.


Book1
AB
1AgeRate
221$532.42
321$532.42
45$407.30
53$407.30
68$407.30
711$407.30
8NA$0.00
9NA$0.00
10
11Top 3$1,221.90
3 Largest < 21
Cell Formulas
RangeFormula
B11=IFERROR(AGGREGATE(14,6,B2:B9/(A2:A9<21),1),0)+IFERROR(AGGREGATE(14,6,B2:B9/(A2:A9<21),2),0)+IFERROR(AGGREGATE(14,6,B2:B9/(A2:A9<21),3),0)
 
Upvote 0

Forum statistics

Threads
1,215,216
Messages
6,123,669
Members
449,114
Latest member
aides

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