LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Calc Prorated Cost based Specific Days in a Gven Month & Year Range.

Hello Everyone,

I beg your assistance.

I'm struggling with this a little bit, and I think the formula required
for this exceeds my knowledge. I have the need to take 2 dates,
possibly in different years, and calculate Cost totals between them.
The tricky part is that the price is annual. We also need to do the
calculation on a daily level as to make sure that all the days are
accounted for. Let me give an example.

Annual Cost: $1200.00
Days Service was used: 11/02/2004 - 03/16/06
Calculation: Monthly Price = $1200.00/12 Months = $100

Now, to calculate the daily price, I need to know how many days are in
November of '04, December of '04, January of '05, February of '05, and
so on.

November '04 = 30 days. So the price per Day in November of 2004 is
$3.33/day. Taking into account that the service started on November
2nd, that would mean 29 days of service were used. Final November calc
would be 29 * $3.33 = $96.57

Then the other months are easy enough, because they're full months.
Then I'd need to do the same calculation on the back end, showing total
days used in March '06. Adding this total cost per month/partial month,
I can hopefully come up with a total amount due. I'm also trying to
make sure that if I have two dates within the same month, I can
calculate cost used. The variables are going to be the cost of the
service, and the Start Date and End Date. I just need a total, not an
actual cost per month, or per year. I can get a cost for a specific
period by adjusting the start and end dates for that period. All the
times I've attempted this, it seems to work sometimes, but usually not
in the same month. Other things that I'm concerned about is creating a
formula that will evaluate how many days are in the specific month and
year. I want this to account for leap years, and since the need it
there to implement it for the month of February, I figured that the
rest of the months could have that manual calc as well. But I'm not the
expert. :)

I would appreciate any guidance, or help that anyone can provide me.

Please and Thank You :),
-John

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calc Date Based on Year Johnny Excel Discussion (Misc queries) 3 August 20th 09 03:27 PM
Can't get NETWORKDAYS to calc elapsed banking days in a month flecky Excel Worksheet Functions 2 May 22nd 08 03:44 PM
Calc days between two dates and exclude leap year days scoz Excel Worksheet Functions 5 November 23rd 07 03:58 PM
Calc Prorated Cost based on Specific Days in a Given Month & Year Range (Revisited..) [email protected] Excel Discussion (Misc queries) 8 October 2nd 07 12:15 AM
I'm looking for a formula to calc # of days left in a month Manthony Excel Worksheet Functions 3 June 6th 06 03:15 PM


All times are GMT +1. The time now is 09:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"