+ Reply to Thread
Results 1 to 6 of 6

Interpolate Between Data Series in Chart Using Y-Axis Axis to Get Value on X-Axis

  1. #1
    Registered User
    Join Date
    11-04-2014
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    14

    Interpolate Between Data Series in Chart Using Y-Axis Axis to Get Value on X-Axis

    Good day to all! I am trying to solve for a value in a chart by interpolating between multiple data series. Each data series is a curve for a specific number; in this case TDH (ft). My lookup values would be Q (gpm) which values are the Y-axis and TDH (ft) which are the individual data series. I am needing to solve for P (W) which would be value on the X-axis. I have attached a copy of the spreadsheet to better explain what I am after.
    Attached Files Attached Files

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,885

    Re: Interpolate Between Data Series in Chart Using Y-Axis Axis to Get Value on X-Axis

    What you'd need to do is set up Polynomial regression Eq for each series. Then use Excel's Goal seek to solve for "x".

    Just a simple example using 2nd order polynomial.

    For TDH = 215 (since it's closest to TDH of 209 in available series).
    y = -3.15672E-06*x^2+0.019072*x-6.28348

    This can be derived by using LINEST function. See attached for how it's set up for 2nd order.
    Linest_215.JPG

    Formula in U22: =Q22*T22^2+R22*T22+S22

    Then go to Data tab, Forcast section, "What-If Analysis" and select "Goal Seek".
    Set up like below.
    Goal_Seek.JPG

    Then hit Ok. You will see 1330.18 as result for x in T22.

    Note: You may find below link useful.
    http://stackoverflow.com/questions/1...ssion-in-excel

    See attached.
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Interpolate Between Data Series in Chart Using Y-Axis Axis to Get Value on X-Axis

    I did a linear interpolation and came to this result: Pin=1297.6 W
    If this is the right outcome, I can make it flexible looking up.
    Attached Files Attached Files
    Kind regards,
    Piet Bom

  4. #4
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Interpolate Between Data Series in Chart Using Y-Axis Axis to Get Value on X-Axis

    @angusfire,
    It would be nice for the volunteers if you give any reaction.

  5. #5
    Registered User
    Join Date
    11-04-2014
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    14

    Re: Interpolate Between Data Series in Chart Using Y-Axis Axis to Get Value on X-Axis

    Forgive me for the delayed response. Both recommendations were good but was needing something that could be automatically updated when the user input is changed. I think that I may have come up with something pretty close to what I was needing. See attached sheet.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Interpolate Between Data Series in Chart Using Y-Axis Axis to Get Value on X-Axis

    Thanks for the feedback.
    I am glad we could help you finding a solution.
    I tested your version and found some strange outcomes.
    Maybe you can test my further developed version with a different approach.
    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. Replies: 0
    Last Post: 07-09-2015, 06:21 AM
  2. Replies: 2
    Last Post: 10-08-2014, 08:04 PM
  3. Replies: 1
    Last Post: 10-08-2014, 06:36 PM
  4. Replies: 2
    Last Post: 02-07-2014, 12:18 PM
  5. [SOLVED] Two Y Axis's One X, Chart Data not in sync with X axis between Y axis's
    By MJSlattery in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-08-2013, 12:08 AM
  6. Replies: 0
    Last Post: 06-13-2011, 11:11 AM
  7. [SOLVED] In a 2 Y-Axis chart, how do I assign data ranges to an axis?
    By Claire4Golf in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-28-2005, 03:05 PM

Tags for this Thread

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