+ Reply to Thread
Results 1 to 5 of 5

Help with data arrangment for chart

  1. #1
    Registered User
    Join Date
    05-22-2008
    Posts
    74

    Help with data arrangment for chart

    I am getting stupid. Excel 2007 doesn't seem to let me do the charting I was once able to do. In Column A I have data values for mile values recorded from the satellite. In column B I have values recorded from the odometer. I want to chart the curve that represents satellite miles VS Odometer miles.

    Sat Truck
    116.30 111.10
    168.70 161.10
    195.80 187.00
    206.30 197.00
    210.00 200.60

    As you can see it's not linear and I wanted to have excel develop the curve calculation for me. It's been 15 years since my last calculus class. What I keep getting is two lines with the Y axis being satellite miles and the X axis being the row numbers 1 through 5.

    Here's what I want to do. I need to figure out what the equation is to give me actual miles (Satellite) for any given odometer reading. My tires are bigger than factory and I want actual miles for gas calculations. I know it's a curve just by looking at the data. But since it has been 15 years since my last calculus class I am getting lost here. If I drive 15 miles odometer reading what is the actual miles driven? If I have the data charted can't excel apply a trend line and give me an equation?

    Thanks for your help.
    Scott
    The harder it gets the happier I am.
    Finally got my signature set up!

  2. #2
    Forum Contributor
    Join Date
    06-29-2008
    Location
    Grand Rapids, MI
    MS-Off Ver
    Office 2010
    Posts
    127
    can't you just simply take the average of your sat. miles, divided by the average of your odometer miles.

    then, the next time you have to calculate your sat./ actual miles you can just multiple the odometer miles by your new fraction.

    that's the simplest solution that you are asking for, otherwise, i'm not sure what you are trying to do with a chart.

    if it's going to get increasingly larger, maybe 1 per day for 365 days, you could use a count function: (sat miles goes from a1:a365) (odo miles from b1:b365)


    =(Sum(A1:A365)/Count(A1:A365))/(Sum(B1:B365)/Count(B1:B365))
    this would give you the same fraction and would update to the most current/accurate mileage, allowing for variances in tire pressure, etc.

    -edit added code tags.
    Last edited by robert_shindorf; 12-29-2008 at 10:09 PM.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Assuming those are comparisons taken at cumulative points, just divide the last two to get the ratio:
    Please Login or Register  to view this content.
    To get true mileage, multiply odo by 1.047

    As you can see it's not linear
    It's very linear; the deviation of the line-by-line ratios is 0.00018.
    Last edited by shg; 12-29-2008 at 10:40 PM.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    05-22-2008
    Posts
    74
    Thanks for the replies.
    I could use the simplest approach, but it is not accurate enough. The difference gradually grows. This was a fun exercise so I will go back to my calc books and find the answer.
    Gotta keep up the practice!

    Thanks again.

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,438
    The attached uses a Table for storing the 2 sets of values.
    The chart is based on the table and will auto expand as more data is added.

    I've used the LINEST function to return the formula values and the done a simple calculation to return estimated satellite value for given truck data.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1