+ Reply to Thread
Results 1 to 4 of 4

Plotting Formulas

  1. #1
    Registered User
    Join Date
    02-19-2017
    Location
    Newcastle, Australia
    MS-Off Ver
    2013
    Posts
    2

    Plotting Formulas

    Hi,

    I hope this question has not been posted before.
    I would like to plot a table using three data ranges that I already have on my spreadsheet.

    I have 3 temperature data sets; 2 sets from upstream and one set from downstream.

    I would like to plot three different lines on my graph:
    -the downstream temp.
    -the mean of the two upstream temps + the standard deviation time 3.
    -the mean of the two upstream temps minus the standard deviation time 3.

    My problem is that I want to do this without having to pre do the calcs on my spread sheet. I want to keep it all very neat on still only have the three data sets on display.

    Could I do this in a macro?

    the point of this would be to be able to visually see when the downstream temp fall out of the given boundary.

    I hope I have explained this clearly.

    thanks in advance for any help or advice.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Plotting Formulas

    Hello EEW & Welcome to the Forum,

    Honestly, you'd be better served showing us what you have now (in a workbook) and maybe we can work out a modification to fits your needs. Making up your entire data set doesn't make sense from my perspective.

    Is your question how to format the data or actually build the chart?
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    02-19-2017
    Location
    Newcastle, Australia
    MS-Off Ver
    2013
    Posts
    2

    Re: Plotting Formulas

    Hi JeffreyBrown,

    Sorry, I thought my post may have been a little confusing. I have attached a sample of my data, and a picture of what I would like my graph to look like. I only want to be able to graph the red line and the two outermost dotted lines. My problem comes as I would like to be able to plot this graph without having to pre do the calculations. can I just write the formulas into the plot somehow?
    Data Image.JPGPlot.JPG

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

    Re: Plotting Formulas

    My problem comes as I would like to be able to plot this graph without having to pre do the calculations. can I just write the formulas into the plot somehow?
    It might depend on exactly what you mean by "pre-do" the calculations. I like to think that just about anything is "possible" with enough time, effort, and ingenuity.

    In this case, you need to know that you cannot somehow write the formulas into the series definition. There are two options for defining the series, values stored in ranges, or values stored in an array constant. With a minimum of effort and ingenuity, I see two possibilities:

    1) Pre-do the calculations in ranges. This is the option you say you don't want to do. IMO, this is by far the easiest option. If you really don't want to see the columns containing these calculations, then you can hide these columns.

    2) Pre-do the calculations in VBA and store the results in an array. Then write that array into the .Values property of the series (example here: https://msdn.microsoft.com/en-us/lib.../ff197014.aspx ).

    Either option involves pre-doing the calculations. Are you certain you do not want the spreadsheet to pre-do the calculations for the chart?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Plotting Formulas and showing gaps in the lines
    By rwmill9716 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-16-2016, 12:25 PM
  2. Help plotting filled shapes (currently plotting outlines using scatter)
    By j_man2211 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-23-2012, 10:34 AM
  3. XY plotting
    By johnmmm in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-28-2009, 10:24 AM
  4. Plotting blank cells (w/formulas?)
    By goodmike in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-18-2007, 09:50 PM
  5. more x-y plotting
    By oldron34 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-17-2007, 02:04 PM
  6. Chart ignoring formulas but only plotting formula results
    By JD in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-03-2006, 03:35 PM
  7. Not plotting blank cells with formulas until number appears
    By Excel Charts and Formulas in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-31-2005, 08:06 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