+ Reply to Thread
Results 1 to 5 of 5

Histogram with Benchmark, adding a point to show where Curve meets benchmark.

  1. #1
    Registered User
    Join Date
    05-11-2018
    Location
    Bloomington, IL
    MS-Off Ver
    2013
    Posts
    3

    Histogram with Benchmark, adding a point to show where Curve meets benchmark.

    I have a histogram of response times percentiles. It's a combograph that has a line representing our benchmark. I want to add a data point to show at what percentile meets the benchmark and label it with the time. When I try to add it, though, it adds the extra space in the graph to accommodate the extra datapoint, which throws the scale of the percentiles out of wack. Is there a way I can just add the datapoint without throwing the scale of the X axis off?

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

    Re: Histogram with Benchmark, adding a point to show where Curve meets benchmark.

    Short but useless answer -- yes, I'm sure there is a way to add a single data point.

    So much of charting seems to be about the way you arrange data in the spreadsheet. Where are you putting the data point for the 3rd data series? Where are the data for the other 2 data series? My first expectation would be something like:
    Please Login or Register  to view this content.
    Put the data point in the row where you want the benchmark point to be. This third series should be added as a line chart type and should probably be formatted as markers without lines.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    05-11-2018
    Location
    Bloomington, IL
    MS-Off Ver
    2013
    Posts
    3

    Re: Histogram with Benchmark, adding a point to show where Curve meets benchmark.

    So that is what I did. However, my data looks like:
    Percentile Time Benchmark Meets Benchmark
    55% 4:45 6:00 -
    60% 5:00 6:00 -
    65% 5:23 6:00 -
    67.3% - 6:00 6:00
    70% 6:10 6:00 -


    The issue is the space between datapoints is usually 5%, however, the 67.3 datapoint is wedge between 65% and 70% and takes up the same space is every other datapoint, even though it's only 2.3 away from 65 and 2.7 away from 70%. I want to event the scale so that it's constant.

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

    Re: Histogram with Benchmark, adding a point to show where Curve meets benchmark.

    I had assumed that the single data point would be directly above one of the columns.

    An even scale is the standard behavior for a category axis (the kind of axis used by line and column charts). An axis that takes into account the numerical value of its data point is a value axis. The only chart types that support a value horizontal axis is a bubble or XY scatter chart. So, this single point data series will need to be added as an XY scatter chart type -- on top of the column + line combination chart you already have. Assuming you have the column and line data series in three columns as indicated:

    1) In a convenient place in the spreadsheet, enter your X value (0.673) and Y value (6:00) for this single data point.
    2) Add a new series to the chart and change its chart type to XY scatter. (In my copy of Excel, Excel automatically adds the secondary axis system to the chart. If your copy does not automatically add these axes, you will probably want to add them.).
    3) Edit the series so that the X values points to the X value cell and the Y values field points to the Y value cell.
    4) Now comes the tedious part -- figuring out the secondary horizontal axis and/or X value to position the single data point correctly.
    4a) If this is a one time or rare task, I would probably just format the secondary axis so that the min and max values for the axis position the data point correctly.
    4b) If this will be a frequent task, then I would spend time with the secondary axis and/or X value so that I can fix the axis limits at some convenient values (0 and 1 or 0 and 100 or whatever makes good sense to me), then compute a "dummy" X value for this point using the number of categories in the column+line chart and the position I want.
    5) Format the secondary Y axis so it matches the primary Y axis. Hide the secondary axes, if desired.

  5. #5
    Registered User
    Join Date
    05-11-2018
    Location
    Bloomington, IL
    MS-Off Ver
    2013
    Posts
    3

    Re: Histogram with Benchmark, adding a point to show where Curve meets benchmark.

    Awesome. That worked! Thank you very much. This is the third time I've tried to do this and failed.

+ 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. Changing index benchmark
    By joust41 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-20-2017, 11:08 AM
  2. Need macro/formula to only show rows that have values above a benchmark
    By thedutchrudder in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-17-2014, 12:37 PM
  3. Benchmark +1.0%
    By bballman178 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-25-2014, 04:51 PM
  4. Flagging up formula result beyond set benchmark
    By Michael Pendragon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-13-2012, 04:22 PM
  5. Benchmark line in graph
    By Blake 7 in forum Excel General
    Replies: 2
    Last Post: 01-21-2011, 11:31 AM
  6. staggering benchmark lines in a graph
    By Blake 7 in forum Excel General
    Replies: 9
    Last Post: 11-23-2010, 10:42 AM
  7. Graphing Benchmark Lines
    By Blake 7 in forum Excel General
    Replies: 4
    Last Post: 11-19-2010, 10:07 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