+ Reply to Thread
Results 1 to 14 of 14

Reverse engineer lookup table from efficiency chart

  1. #1
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Reverse engineer lookup table from efficiency chart

    I have this chart from a datasheet and I want to make a lookup table out of it to use in my calculations.
    Using my ruler directly on the screen to make a table that is then converted really doesn't make me feel like a champ...
    In the old Excel (2003) you could put this chart as a background and then make graphs and move the points around until they fit about right. However, even if I had that feature I have no good idea of how to make a lookup table from it.
    Any ideas? I'm running Excel 2016 now.

    Mussle chart.PNG
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,826

    Re: Reverse engineer lookup table from efficiency chart

    In the old Excel (2003) you could put this chart as a background and then make graphs and move the points around until they fit about right.
    It seems like this option should still be available in 2016. I can still add the picture as a background image in 2007, and this (https://support.office.com/en-us/art...ustomshapefill ) suggests that you can still do it in 2016.

    However, even if I had that feature I have no good idea of how to make a lookup table from it. Any ideas?
    For a 2D lookup table, I would tend to structure the table something like
    Please Login or Register  to view this content.
    I would then use an INDEX(table,MATCH(vertical x value lookup),MATCH(horizontal y value lookup))
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Reverse engineer lookup table from efficiency chart

    Quote Originally Posted by MrShorty View Post
    It seems like this option should still be available in 2016.
    Missunderstanding. In Excel 2003 you could actually grab a datapoint in a chart and move it up and down and the corresponding cell would change value accordingly. Pretty neat.

    I'm now researching picking coordinates from chart. It makes me go insane....
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,826

    Re: Reverse engineer lookup table from efficiency chart

    I'm now researching picking coordinates from chart. It makes me go insane....
    I agree. When I have done this, I have preferred to simply hand enter the values in Excel, see the result on the chart, adjust if needed, and go on to the next point. It is tedious, but I usually feel like it is easier and faster than trying to coax VBA to read mouse position and translate that into something meaningful.

  5. #5
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Reverse engineer lookup table from efficiency chart

    Ok. I'm reposting this problem in the VBA section:

    https://www.excelforum.com/excel-pro...-in-chart.html

    .

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Reverse engineer lookup table from efficiency chart

    You want to be able to enter x and y values and estimate the percentage values?
    Entia non sunt multiplicanda sine necessitate

  7. #7
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Reverse engineer lookup table from efficiency chart

    Yes, that is correct.

    The workbook I posted was a start of a "lookup table generator". I would cut and paste a chart from somewhere as a background in an Excel chart.
    The idea is to make that whole "get coordinates" -macro working and then expand it so that I can generate a lookup table automatically by clicking a number of points in the chart.
    Last edited by Jacc; 05-22-2017 at 03:55 PM.

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Reverse engineer lookup table from efficiency chart

    Here's a surface regression -- I don't know if it helps or not ...
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Reverse engineer lookup table from efficiency chart

    Ha ha... That is hardcore! Thanks shg!

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Reverse engineer lookup table from efficiency chart

    You're welcome.

  11. #11
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Reverse engineer lookup table from efficiency chart

    Question; it seems like you purposely left out the last datapoints from all but one graph. Coincidence or regression strategy?
    I would think more data points would be better and I would be more than happy to add them myself.
    For the record, I have studied math/statistics up to about this level but my relationship with math is a love/hate one. Love the power it brings to engineering but hate the damages it inflicts on my brain when I try to learn it.

  12. #12
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Reverse engineer lookup table from efficiency chart

    C
    D
    E
    F
    G
    3
    1. Input Data
    4
    **Curve
    88%
    91%
    92%
    93%
    5
    x
    y
    y
    y
    y
    6
    0.01
    60
    110
    180
    276
    7
    200
    65
    115
    190
    292
    8
    400
    70
    135
    230
    368
    9
    600
    90
    180
    325
    504.0007
    10
    800
    120
    255
    456.2508
    700.0021
    11
    1000
    160
    348.0005
    631.2521
    956.0042


    Left out the last data points?

  13. #13
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Reverse engineer lookup table from efficiency chart

    These. Not that it is a problem, just curious.
    Last points.PNG

  14. #14
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Reverse engineer lookup table from efficiency chart

    I only digitized three points because that's sufficient for a parabola.

    Having done that, I used the regression to tabulate all the values over the same interval, 0 to 1000. In retrospect, that was a mistake; I should have used the intervals for each curve, because the points outside that don't matter.

    Here's a revised version with 25 coefficients that is a near-perfect fit (see the R2) within the extents of the curves. I used the regressed parabolas to generate the intermediate points.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Can someone help me reverse engineer my payslip into a spreadsheet?
    By M17xR3 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-07-2014, 09:24 PM
  2. Help: Reverse Engineer Macro
    By bernhardjoshuabudion in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2014, 02:16 AM
  3. [SOLVED] Reverse Engineer a Formula?
    By Rick-O-Shay in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-28-2013, 10:35 PM
  4. Replies: 6
    Last Post: 05-05-2013, 07:17 PM
  5. Reverse table lookup
    By Suzanne53 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-19-2011, 04:35 PM
  6. reverse mapping for LOOKUP table?
    By Kok Yong Lee in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-29-2006, 09:00 AM

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