Solved

# How do I do a pro ration calculation in excel

Posted on 2010-11-26
1,410 Views

How do I do a proration calculation in excel?
I'd like to take inputs from the user -
Amount to prorate
Starting date - date product purchased
end date - date of failure/warranty claim
base warranty period - period where coverage is 100%
prorated warranty period - Period where warranty is prorated.  starts at day one regardless of base period.

Example:
Product is \$400
Purchased 12/1/07
Warranty claim 6/1/10
Base Warranty 24months
Prorated period 6 months

\$400 is prorated for 30months
0
Question by:swedishmotors
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 2
• 2

LVL 81

Accepted Solution

byundt earned 500 total points
ID: 34218239
Assuming 12/1/07 is in cell A1, 6/1/10 is in cell A2, then the warranty benefit might be calculated as:
=400*MAX(0,1-DATEDIF(A1,A2,"m")*(DATE(YEAR(A1),MONTH(A1)+24,DAY(A1))<=A2)/30)

Full benefit for 24 months or less. \$80 benefit pro-rated to 0 over the last 6 months. Each successive month gets \$13.33 less benefit.

0

LVL 1

Author Comment

ID: 34227613
I get a number error when I try this. Prorated-Warranty-Calc.-.xls
0

LVL 81

Expert Comment

ID: 34227699
The formula was using dates in A1 and A2. You put yours in A1 and B1. Try moving the date from B1 to A2.

0

LVL 1

Author Comment

ID: 34230507
Thank you very much for your help.
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
###### Suggested Courses
Course of the Month9 days, 10 hours left to enroll