Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Fuel Consumption Figures

I've currently got an excel template which I've been using for a number
of years (which can be improved, but it works) and I'm wanting to
update the way I calculate the consumption figure per vehicle.

What I currently do is paste the data from a website and sort it by
date & odometer readings and work out the fuel consumption based on the
total number of quantity of litres purchased, less the most recent
odometer record minus the first record.

or in simple terms : ((Total Fuel Qty * 100) / (End ODO - Start ODO))

What I'm hoping to accomplish is to calculate it over a 3 month period,
without having to manually edit the data.

I think a series of SUM(IF.... statements would work but how would I go
over a 3 month period programatically? Max(Tran-date - 3 months) ?
The Start ODO will be the odo record at the period commencement date
i.e. Trandate - 3 months.

Any ideas?

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
Charting time consumption Espen Rostad[_2_] Excel Discussion (Misc queries) 6 June 17th 09 10:25 AM
What is the formula to calculate electricity consumption TSK Excel Worksheet Functions 4 May 6th 08 01:40 PM
Time consumption in macros Jon Excel Programming 5 July 13th 06 09:26 AM
Fule consumption popunonkok Excel Discussion (Misc queries) 0 April 27th 06 08:16 PM
Consumption function [email protected] Excel Discussion (Misc queries) 6 November 19th 05 12:41 AM


All times are GMT +1. The time now is 04:21 PM.

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"