Forum Discussion
texadave
Mar 06, 2020Copper Contributor
Inserting 2 trendlines on one chart
I have 2 sets of data, each consisting of two variables and a bunch of values under each variable (picture attached below). How can I insert two trend lines on the same chart [scatter plot] so t...
- Mar 08, 2020
Riny_van_Eekelen
Mar 08, 2020Platinum Contributor
- Giovanni1220Mar 28, 2023Copper Contributor
Riny_van_Eekelen Hello, hoping you can help me.
I am trying to create a bar graph chart for our quarterly sales results. I am comparing our client's demand to our commitment vs what we actually shipped. I have the bars properly displayed but I am trying to show the trend from our commit vs the actual on the same chart. Basically, I have 3 bars, the client (ex 2,5M), commit (ex 1.8M), and actual (ex 2.2M). I want to display the trendline only from the commit to the actual (ex displaying better results than our commit). All I am able to do is show the trend of all the totals or have 2 separate charts. Appreciate your help.
- Riny_van_EekelenMar 28, 2023Platinum Contributor
Giovanni1220 Difficult to visualize what you are trying to achieve. Can you share a file (Onedrive or similar) with some example data and the graph that you have already made?
- Giovanni1220Mar 28, 2023Copper Contributor
This is the data where I want a trend line only for the Commit vs Actual.
Q1 Results Client Demand $ 2,500,000.00 Commit $ 1,800,000.00 Actual Shipped $ 2,200,000.00
- KickepeFeb 07, 2023Copper Contributor
I am trying to do the same thing as above. How do I do it in excel 365. Please Help.
- Riny_van_EekelenFeb 08, 2023Platinum Contributor
Kickepe Didn't actually remember what the issue was her, but the I first selected one data set (i.e. A2:B5), created a scatter plot of that. Then you go to Select Data on the Chart Design ribbon and add the second series with the proper ranges (C2:C5 and D2:D5). Finally, add a trend line for each series.
All was done in MS365. There's nothing really special about it in 365.
- texadaveMar 08, 2020Copper Contributor
Riny_van_Eekelen That worked like a charm! Thank you so much.
- Riny_van_EekelenMar 08, 2020Platinum Contributor
texadave You're welcome!