#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Den
 
Posts: n/a
Default Electrical Bill

From the electrical bill (variable: 50 to 60 days) I want to figure a
monthly consumption base on the following approach:

From this:

Date Consumption Nb Days Consp/day
2005-02-17 3370 64 52.65
2005-04-21 3270 63 51.90
2005-06-15 860 55 15.63

I would like to get this:

Jan consumpt. = 31 days x 52.65 = 1632.15 total: 1632.15
Feb consumpt. = 17 days x 52.65 = 895.05

Feb consumpt. = 21 days x 51.90 = 1089.90 total: 1984.95
Mar consumpt. = 31 days x 51.90 = 1608.90 total: 1608.90

Apr consumpt. = 21 days x 51.90 = 1089.90
Apr consumpt. = 9 days x 15.63 = 140.67 total: 1230.57

May consumpt. = 31 days x 15.63 = 484.53 total: 484.53
June consumpt. = 15 days x 15.63 = 234.45

June (completed with the next bill)

Naturally, there's only one line per month in the final version.

Problem is that each bill spans over 3 months and the last month is
only completed with the coming bill.

Can this be done with just the excel functions or will I have to go
with VB ?

Den
Reply
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
In Excel- change the order of a name? Bill Gates to Gates, Bill arnold36 Excel Discussion (Misc queries) 1 September 29th 05 06:05 PM
formula to divide a monthly bill... Kim Excel Worksheet Functions 6 August 17th 05 09:29 PM
can a cell remind you of an upcoming bill date payment Colin2u Excel Discussion (Misc queries) 3 August 11th 05 07:56 PM
Calculating a bill using a graduated rate... Dave Smith Excel Worksheet Functions 7 May 22nd 05 10:06 PM
spreadsheet for splitting a utility bill dmcquil New Users to Excel 8 April 1st 05 11:49 PM


All times are GMT +1. The time now is 12:40 AM.

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

About Us

"It's about Microsoft Excel"