Calculate deductible amount based on year

JohnZ1156

Board Regular
Joined
Apr 10, 2021
Messages
180
Office Version
  1. 2021
Platform
  1. Windows
I have pet insurance for my dog. As I submit a medical claim, there is a $100 deductible for each new year.
I have a table.
Column C is the Date (MM/DD/YYYY),
Column E is a $ Amount Covered
Column F is the 90% Amount
Column G is the Deductible amount.
Column H is the Reimbursement Amount

I would like a formula in column G to automaticall calculate the deductible at the start of each new year in column C until it reached $100 for that year.
If the amount of the bill is not enough to cover the $100 deductible, then deduct it from the next date entry until a max of $100 is satisfied.
 

Attachments

  • Screenshot 2024-07-26 074039.jpg
    Screenshot 2024-07-26 074039.jpg
    113.9 KB · Views: 13

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
You can calculate the reimbursement in one formula. I have added Column D just to illustrate the deductible. I've assumed "year" means calendar year.

ABCDE
1Deductible100
2
3DateCoveredReimbursementDeductible
4Jan 15 202090090
5May 15 2020403010
6Sep 15 202070700
7Jan 15 202120020
8May 15 202160060
9Sep 15 202120018020
10Jan 15 202214040100
11May 15 202280800
12Sep 15 20221801800
13Jan 15 202314040100
14May 15 20232002000
15Sep 15 20231601600
16Jan 15 202414040100
17May 15 20241201200
18Sep 15 20241601600
19Jan 15 202520020
20May 15 20251002080
21Sep 15 20251001000
22Jan 15 202660060
23May 15 2026602040
24Sep 15 202680800
25Jan 15 202716060100
26
Sheet1
Cell Formulas
RangeFormula
C4:C25C4=MEDIAN(0,B4,SUM(FILTER(B$4:B4,YEAR(A$4:A4)=YEAR(A4)))-B$1)
D4:D25D4=B4-C4
 
Upvote 0
Solution
In G2 , copy down.
Excel Formula:
=IFERROR(1/(1/MIN(SUM(F2),100,100-SUMPRODUCT($G$1:$G1*(YEAR($C$1:$C1)=YEAR($C2))))),"")
If you want avoid display of 0, format cells.
Custom --> 0.00;;
01-01-2021​
191.64​
100.00​
31-05-2021​
170.39​
28-10-2021​
18.36​
27-03-2022​
37.74​
37.74​
24-08-2022​
85.48​
62.26​
21-01-2023​
20-06-2023​
17-11-2023​
925.25​
100.00​
15-04-2024​
 
Upvote 0
Thanks, StephenCrump,
I was trying to come up with a formula to calculate the deductible, then figure out the reimbursement.
I never thought of calculating the reimbursement to get the deductible.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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