I'm having a line graph of production waste corresponding to four different production sites. However, I want to include a trend line (regression) in the same graph. This regression should conduct a trend line of the total production waste of the production sites.
I.e. if production site 1 through 4 has a production waste of 2 units each month, I want the regression to be a flat line at y = 8.
Is this possible? I'm using Excel 2010.
EDIT: I've realized that it is not possible to make a regression line without converting the regular graph into a scatter plot first (or is it..?). However the initial question remains.
Add the total of all sites as a data series to the line chart and then add a trend line for the total series. Format the total series to show no line and only the trend line will be visible. In the screenshot the dotted line is a polynomial trend line on the total series, which has been hidden by formatting with no line.
Related
I am trying to plot multiple y values for the same series on the same x value in a line chart across a period of time. As a background, I would like to create a line chart (or scatter plot) of rankings for a particular professor over a period of time. However, the problem lies in that professors teach multiple sections in a given quarter. As a result, I’m unable to utilize a series to encapsulate more than one section for a given period, which results in each section having its own series (as opposed to each professor having their own series that captures all sections they teach). I would like for each professor to show up as one series (i.e., color) across time in the chart. Any help would be great!
final chart
I want to plot two trend lines, one from 2-3 cm and the other from 3-4 centimeter like the attached picture. How can I do it using Excel 365?
My output is coming like this
Here's a solution without the need to split your dataset.
The chart is a XY scatterplot, with 7 series (Vol-1, Vol-2, Vol-3, Vol-4, Vol-5, Trend1, and Trend2)
The Trend1 series is a bit weird, but basically in the Series X Values box, you select the Dist column (A2:A4 only) 5 times separated by a comma:
=('Temp Sheet'!$A$2:$A$4,'Temp Sheet'!$A$2:$A$4,'Temp Sheet'!$A$2:$A$4,'Temp Sheet'!$A$2:$A$4,'Temp Sheet'!$A$2:$A$4)
Then in the Series y-value box, you select the appropriate rows in each of the Vol columns:
=('Temp Sheet'!$B$2:$B$4,'Temp Sheet'!$C$2:$C$4,'Temp Sheet'!$D$2:$D$4,'Temp Sheet'!$E$2:$E$4,'Temp Sheet'!$F$2:$F$4)
So Trend1 looks like this:
Repeat the same thing for Trend2, but with rows 4 through 6.
Next, add a trend line for Trend1 and Trend2.
Finally, remove the markers for Trend1 and Trend2 so the only datapoints visible are Vol1 through Vol5.
From there you may choose to add axis titles, set axis limits, etc.
Split your data into two series (2-3 and 3-4), then add a trendline to each series.
I have a list of years from 2019-2098 that I want to be the x-axis values. The y-axis will be from 0 to 1 for probabilities. The line graph will measure the survival probability curve in relation to years. The issue is that I need a vertical line to reside on the mark for year 2042. Is there a way to do this? Everything I have found online doesn't work! The photo is what I get from doing an online example. It produces a vertical line but not in the correct spot.
You could add a separate data series that consists of (2042,0) and (2042,1).
Graph them as a scatterplot on top of your existing data. If needed, go to Change Chart Type and set the appearance to connect the two points with a line where the points don't show. Example: Scatter plot without points showing.
This is ultimately what I need in but in TableauSo I'm fairly new to Tableau and as I feared something extremely simple in Excel is proving to be rather complex in this new software.
I have a monthly running stacked bar chart of the closeouts by team(colored) and a line demonstrating the overall cumulative count of closeouts since the program started.
How do I simply add the total amount per month to a graph already using the Dual Axis feature for the cumulative running total? Thank you!
This is what I have so far - Closeouts Combo Stacked Graph
It looks like you might have the label set to Line Ends. To check this do the following. Go to the marks card section on the left under filters. You will have three marks cards because of the dual axis, All, Bar and Line. Select the line card and click the label box. In there you can see if this is set to Line Ends under marks to label. Change this to All if so and see if that works.
How do I display a vertical line automatically on my graph at a certain point on the x-axis?
x-axis: years
y-axis : dollars
So an example might be that I want to draw a line after (A) years, how would I ago about getting a vertical line after A years?
Chart
Here is a picture of the current chart:
Data
Here is a picture of the data its pulling from:
Y axis dollar amount changes depending on the cost of the project
so theoretically it could be anything from 0 to 1,000,000 or more.
Most have been within 10k-100k however.