Comments on: Excel Mileage Tracking
http://ask.metafilter.com/98512/Excel-Mileage-Tracking/
Comments on Ask MetaFilter post Excel Mileage TrackingWed, 06 Aug 2008 14:29:49 -0800Wed, 06 Aug 2008 14:29:49 -0800en-ushttp://blogs.law.harvard.edu/tech/rss60Question: Excel Mileage Tracking
http://ask.metafilter.com/98512/Excel-Mileage-Tracking
Help me set up an Excel spreadsheet to track my gas mileage on my car. <br /><br /> I have about a year and a half of mileage gas mileage data for my car (whenever I filled up, I noted the amount of gas and the odometer reading). I would like to finally put it in Excel and take a look at it. My only concern is that there were a handful of times where I filled up my car and I forgot to fill out my sheet, so it may look something like this:<br>
<br>
6/8/08 --- 54789 miles --- 8 gallons<br>
??????<br>
6/18/08 --- 55000 miles --- 3 gallons<br>
<br>
I know that if I just plug that data into Excel, it will tell me that one week in June I had a Super Fillup of Extreme Efficiency Gas, and I know that's just not true. I remember from 8th grade math that if I were plotting this by hand, I would just estimate the missing point, and I imagine that there must be a way for Excel to do this for me, but I don't know how.<br>
<br>
Any other resources or information on tracking gas mileage or using Excel for similar "life tracking" applications would be very welcome.post:ask.metafilter.com,2008:site.98512Wed, 06 Aug 2008 13:47:04 -0800rossinationexcelgasspreadsheetBy: theichibun
http://ask.metafilter.com/98512/Excel-Mileage-Tracking#1434222
If it were me making this, I would put the data in with a column each for the number of gallons I put in, the number of miles driven since the last fill up, the type of gas, and the MPG (with that one being a formula).<br>
<br>
As far as I know, there's no way for Excel to guess what value should have been there except for making a formula for the cell with the missing data that would take into account the average of the values on both sides of the missing value.<br>
<br>
As for the second part of the question, I use Excel to keep track of my grades/GPA (check over in the Projects if you're interested). You could use it to track inventory, money, really almost anything.comment:ask.metafilter.com,2008:site.98512-1434222Wed, 06 Aug 2008 14:29:49 -0800theichibunBy: Agamenticus
http://ask.metafilter.com/98512/Excel-Mileage-Tracking#1434274
I did one of those for along time, until the odometer broke. <br>
Columns for Date, Miles, Gallons,MPG,Octane, Odometer, $/gallon <br>
The formulas were simple. I was using lotus123 but I'd bet there are templates for this on the MS Excel site.comment:ask.metafilter.com,2008:site.98512-1434274Wed, 06 Aug 2008 15:03:55 -0800AgamenticusBy: Agamenticus
http://ask.metafilter.com/98512/Excel-Mileage-Tracking#1434280
<a href="http://www.vertex42.com/ExcelTemplates/mileage-calculator.html">HERE you go</a>comment:ask.metafilter.com,2008:site.98512-1434280Wed, 06 Aug 2008 15:06:11 -0800AgamenticusBy: i love cheese
http://ask.metafilter.com/98512/Excel-Mileage-Tracking#1434349
One approach to excluding the bogus data would be to set a threshold that would indicate bogus data and use it in a column with an if statement to output either the row's legitimate value or a blank.<br>
<br>
Imagine if A is date, B is Odometer reading, C is # of gallons:<br>
<br>
D3 (mileage) would be =(B3-B2)/C3 [miles traveled since last fill up divided by # gallons added]<br>
<br>
E3 could be =if(D3>40,D2,D3) [if mileage is greater than 40 (or some other number of your choosing), then report previous mileage, otherwise report mileage]. <br>
<br>
Alternatively, to make the data look smoother, you could replace the D2 in the last formula with something like: average(D2,D4) <br>
<br>
Ideally, I would have replaced the D2 with a "" (two quote marks) which would leave the cell blank, however excel seems to regard that as a zero instead of a blank.<br>
<br>
<br>
You would then do a drag-fill of your formulas all the way down.<br>
<br>
If you were to plot column E it will leave the blank cells as gaps in your plot.comment:ask.metafilter.com,2008:site.98512-1434349Wed, 06 Aug 2008 15:57:46 -0800i love cheeseBy: LightMayo
http://ask.metafilter.com/98512/Excel-Mileage-Tracking#1434448
This isn't exactly what you are asking for, but I have been using the site <a href="http://www.mymilemarker.com">My Mile Marker</a> for about a year. It lets you enter the data at the web site, or send a text message with the data to the web site. When you enter the data on the web site, there is a box to check that says 'my last fillup wasn't (on the last date data was entered)'. When you do this, it skips the gas mileage calculation using that data. It's also got pretty charts and graphs that track your miles per hour and your total miles driven.comment:ask.metafilter.com,2008:site.98512-1434448Wed, 06 Aug 2008 17:19:07 -0800LightMayoBy: BoldStepDesign
http://ask.metafilter.com/98512/Excel-Mileage-Tracking#1434719
Take row 2 sub tract from row 1 didve the differencecomment:ask.metafilter.com,2008:site.98512-1434719Wed, 06 Aug 2008 22:27:44 -0800BoldStepDesign