+ Reply to Thread
Results 1 to 4 of 4

Dynamic chart comparing actual against two growth standards

  1. #1
    Registered User
    Join Date
    01-28-2021
    Location
    Florida
    MS-Off Ver
    Microsoft Office 365
    Posts
    18

    Dynamic chart comparing actual against two growth standards

    On the GrowthChart tab of my workbook, I want to include a dynamic scatter chart that plots actual measurements of weekly plant height measurements against two different growth curve min and max measurements depending on which is selected. These are some goals for the chart:

    1) Have the chart dynamically update to show the Min Ht and Max Ht for the Late Curve or the Standard Curve depending on which is selected in the drop-down menu above (The data for these is in two tables on the GrowthChartData tab)
    2) On the chart, omit the Avg Ht data points where there is no data
    3) Dynamically format the chart so that the start point on the X-axis is the first calendar week number from B8 (highlighted blue) and so the start point on the Y-axis is the first Avg Ht number from C8 (highlighted green). Note that the C8 is a named cell 'PinchHt'. I know that I can manually enter the upper and lower bounds for charts, but I want this to update automatically depending on the start values of the actual crop which may vary by several inches or several weeks from crop to crop.

    As mentioned above, the data for the Standard Curve and Late Curve are in two tables on the GrowthChartData tab. I am not sure if these may need to be combined into one table. The current curve data shown in the chart is from the Late Curve table.

    Sample file: CopyPlantMeasurements2023-V5.xlsx
    Last edited by mo1h43v; 05-12-2023 at 09:47 AM.

  2. #2
    Registered User
    Join Date
    01-28-2021
    Location
    Florida
    MS-Off Ver
    Microsoft Office 365
    Posts
    18

    Re: Dynamic S curve chart comparing actual against two different standard measurement scen

    I was able to figure out how to have the chart dynamically update depending on which curve data is selected. I combined the Late and Standard curve data into one table and used this FILTER function =FILTER(Table_Curves[[Week '#]:[Max Ht]],Table_Curves[Curve]=$I$4) to create a table which will update depending on which Curve is selected on the GrowthChart tab and used that table to create the chart, then added the measurement data series to the chart. This video was helpful in understanding how to format the data for the chart: https://www.youtube.com/watch?v=ehrXyFPljBo&t=154s

    For now, I manually updated the axis bounds, but I'm still trying to figure out how to omit the measurement line where it drops down because there is no data yet and also if there is a way to automatically update where the axis crosses.

    Revised file: https://1drv.ms/x/s!Ane3gAILAlalziRG...vKV44?e=2d8Nmd

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Dynamic chart comparing actual against two growth standards

    1. Change the formula to:

    =XLOOKUP($A$1&INT(B8:B8#),Table_MeasureData[Crop]&Table_MeasureData[Calendar Week],Table_MeasureData[Avg Ht],NA(),0)

    2. Then use conditional formatting
    =ISERROR(e8)

    and set the font colour to match the background colour.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    01-28-2021
    Location
    Florida
    MS-Off Ver
    Microsoft Office 365
    Posts
    18

    Re: Dynamic chart comparing actual against two growth standards

    Thank you! That works great!

    Any ideas about how to make the start boundaries for the height and week numbers update automatically? Some crops may be planted in week 33 and others as late as Week 36 or 37, and ideally I'd like the graphs to cross the axis at the start week. And the heights may start anywhere between 5.25" and 10" or so, so I would like the graphs to cross the axis at the starting height.

    Thanks again!

+ 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. Bell Curve/Standard Deviation/Graph
    By jk2391 in forum Excel General
    Replies: 1
    Last Post: 05-07-2020, 03:02 PM
  2. Dynamic Chart: comparing 2 parameters by choosing different slicers
    By survivor48259 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-11-2017, 01:43 PM
  3. [SOLVED] Can't calculate actual hours and costs from standard
    By Ochimus in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-21-2016, 12:07 PM
  4. Bell Curve and Standard Deviation
    By zmster2033 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-19-2015, 05:27 PM
  5. Replies: 0
    Last Post: 01-17-2012, 01:32 AM
  6. Finding values based on the standard curve - Pls help
    By Wilsern in forum Excel General
    Replies: 4
    Last Post: 08-25-2011, 09:30 PM
  7. Graphing a Standard Curve
    By murrskeez91 in forum Excel General
    Replies: 2
    Last Post: 02-13-2011, 04:03 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