+ Reply to Thread
Results 1 to 4 of 4

Unable to get a single point to identify whether its in spec or otherwise.

  1. #1
    Forum Contributor
    Join Date
    07-05-2016
    Location
    cardiff
    MS-Off Ver
    2010
    Posts
    787

    Unable to get a single point to identify whether its in spec or otherwise.

    Hi,

    I have a graph with scatter X,Y arrangements and I have designed it that I am able to type in X,Y and I can quickly determine whether a reading is in specification or not. This works fine, but Id like to to put a Pass/Fail reading in the chart.
    My problem is that this number is dynamic and not static i.e. everything above 250mm is failed. I am not really sure how to go about this, but I imagine i would have to get excel to identify whether it is above or below the threshold line.
    Ill include a snippet of the graph to facilitate any assistance. beam bending.PNG

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,619

    Re: Unable to get a single point to identify whether its in spec or otherwise.

    Of course if the case is that simple as described (everything below 250 is a failure) just compare with 250 :-)
    But probably you want to know whether your red dot is for instance above or below for instance green line.
    Then you basically cannot do this directly on the chart.
    You shall check it directly in cells (some simple math - may be some interpolation of your lines would be needed).
    Best Regards,

    Kaper

  3. #3
    Forum Contributor
    Join Date
    07-05-2016
    Location
    cardiff
    MS-Off Ver
    2010
    Posts
    787

    Re: Unable to get a single point to identify whether its in spec or otherwise.

    Thanks,

    Yes, i thought this may be the case. Due to the non linear nature of the data its difficult to write in any tolerance. The 250 rule wont work due to the fact that it can move depending on composition.
    The data in the cells is not detailed enough as they work on coordinates which occur every intervalic division(300, 320,340 etc). Therefore, the data in between these is assumed due to the nature of the graph and what were trying to measure.
    Any ides how to progress?

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,619

    Re: Unable to get a single point to identify whether its in spec or otherwise.

    If I'm right, you used scatterplot with smooth lines.
    Here: https://newtonexcelbach.wordpress.co...cubic-splines/ you can find a function which mimics excel smooth lines. you can use it to calculate Y value for the smooth line at given X. Then you just have to compare your red dot Y with calculated Y to see if red dot is below or above the line.
    But as you claim that data for lines is collected every 20 X axis units then probably linear interpolation of each segment. In this case math will be much easier than in link cited above.

    If your dot is at some X0 point you look for Xi (line point which is first smaller than X0) and Xj (first larger than Xi, or in other words point i+1)
    then Yc (calculated) will be given by:
    Yc=Yi+(Yj-Yi)*(X0-Xi)/(Xj-Xi)
    now you can compare Yc with Y0 and you are done.

    To find i you can use excel MATCH function (with third parameter set to 1).

+ 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. [SOLVED] IF spectext in cell X, spec text in cell Y and Spec text in cell Z then Spec text
    By cjohnr1388 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-18-2016, 08:16 AM
  2. Help to identify a data point from a graph on the spreadsheet!!
    By Hula in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-08-2012, 06:10 PM
  3. Unable to Identify Error in Formula
    By questers in forum Excel General
    Replies: 4
    Last Post: 07-03-2010, 03:02 PM
  4. Identify selected point in chart
    By latasa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-15-2009, 04:31 AM
  5. Identify a single word amongst many within a cell
    By micolo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-06-2006, 03:43 AM
  6. [SOLVED] Plotting X and Y to a single point
    By mea in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-04-2006, 04:10 PM
  7. Identify Breakeven Point by EXCEL
    By !Cheapnet in forum Excel General
    Replies: 1
    Last Post: 01-19-2006, 02:35 PM

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