Skip to content

5000+ Great Articles

Best Articles & Essays: Interesting Articles to Read Online

  • How to Fix Instagram Lagging on iPhone and Android iPhone
  • How To Play SteamVR Games on Oculus Quest 2 Gaming
  • How To Create Your Own Coupon Popup in WordPress Wordpress
  • Fix Outlook Won’t Open Problem Office Tips
  • 10 Best Screen Recorders for Linux Linux Tips
  • How to Make Your Computer Talk/Speak What You Type technology
  • How to get HBO Max Outside US on Android and iOS How-To
  • HP OfficeJet Pro 8500 (A909n) Premier Review Gadgets

Add a Linear Regression Trendline to an Excel Scatter Plot

Posted on October 6, 2020 By blog_786 No Comments on Add a Linear Regression Trendline to an Excel Scatter Plot

While Excel can calculate a range of descriptive and logical statistics for you, it is often better to show a visual representation of the data when presenting information to a group.

Using the built-in trendline function in Excel, you can add a linear regression trendline to any Excel scatter plot.

Insert a scatter chart into Excel

Suppose you have two columns of data in Excel and you want to insert a scatter chart to check the relationship between two variables.

Start by selecting data in two columns. Then click the Insert tab on the Ribbon and locate the Charts section. Click the button labeled Scatter and then select the button from the Scatter with Only Markers menu.

In newer versions of Excel, scatter charts will appear as a small button with a graph and dots, as shown below. Also, select Scatter only from the dropdown.

Add a Linear Regression Trendline to an Excel Scatter Plot

You should now have a scatter chart with the data represented in the chart.

Add trendline in Excel

Add a trendline to Excel

Now that you have a scatter chart in your Excel sheet, you can add a trend line. First, click once on any data point in the scatter plot. This can be tricky because there are many chart elements that you can click and edit.

You know you have selected a data point when all data points are selected. After selecting the data points, right-click any data point and choose Add Trend Line from the menu.

You should now see the Format Trend Line window. This window contains many options for adding a trend line to an Excel scatter chart.

Add a Linear Regression Trendline to an Excel Scatter Plot

Note that you can add an exponential, linear, logarithmic, polynomial, power, or moving average trend / regression line.

Leave the default Linear selected for now. Click the Close button and your chart should now display a linear regression trendline.

As with everything in Microsoft Office, you can format the trendline to look exactly the way you want it. In the next section, we’ll discuss some of the more popular changes you can make to your trendline to highlight it.

Excel Trendline Formatting

Excel trendline format

To format the newly created trendline, start by right-clicking the line and choosing Format Trendline from the menu. Excel will reopen the Format Trend Line panel.

One of the more popular options for adding a trendline in Excel is to display the line equation and R-square value directly on the chart. You can find and select these options at the bottom of the window. For now, choose both of these options.

Add a Linear Regression Trendline to an Excel Scatter Plot

Let’s say we want our trend line to appear more clearly on the chart. After all, a trendline is only one pixel wide by default and can sometimes disappear among colors and other elements in the graph. On the left side of the Format Trend Line window, click the Fill and Line icon.

In this window, change the Width from 0.75 points to about 3 points and change the Dash to Square Point (third item in the drop-down menu). To demonstrate that this is possible, change the End Type parameter to an arrow.

Add a Linear Regression Trendline to an Excel Scatter Plot

When you’re done, click the X button in the Format Trend Line panel and notice the changes in the scatter plot. Notice that the line equation and R-squared values ??are now displayed in the chart and that the trendline is more prominent in the chart.

Like many other features in Excel, there are almost limitless possibilities when displaying a trend line in a scatter chart.

You can change the color and thickness of the line, and even add 3D elements to it, such as a shading effect (click the Effects icon).

Which you choose depends on how brightly you want the trend line to stand out on the chart. Experiment with the options and you can easily create a professional looking trendline in Excel. Enjoy!

–

Share this:

  • Twitter
  • Facebook
MS Office Tips

Post navigation

Previous Post: Add a Cover Page to a Word Document
Next Post: How to Add Action Buttons to a PowerPoint Presentation

Related Posts

  • Charting Your Excel Data MS Office Tips
  • How to Switch Between Worksheets in Excel MS Office Tips
  • Use the Excel Watch Window to Monitor Important Cells in a Workbook MS Office Tips
  • How to make a postcard in MS Word MS Office Tips
  • How to Use the YEARFRAC Function in Excel MS Office Tips
  • Use Summary Functions to Summarize Data in Excel MS Office Tips

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Archives

  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • March 2021
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018

Categories

  • AI Tools & Guides
  • Amazon Web Services
  • Apple Watch
  • Computer Tips
  • Cool Websites
  • Featured Posts
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • Help Desk
  • How-To
  • iOS
  • iPad
  • iPhone
  • islamic Books
  • Linux
  • Linux Tips
  • Mac OS X
  • macOS
  • MS Office Tips
  • Networking
  • Office Tips
  • OS X
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tools Review
  • Troubleshooting
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • Windows 7
  • Windows XP Tips
  • Wordpress
  • 6 Best FTP Clients For Android
  • MailTag: Real-time Email Tracking, Made Easy
  • Here are the Top 10 highest paid YouTubers of 2017
  • Protect Your Facebook Account From Hackers (2017)
  • 4 Ways to Share WiFi Without Giving Away Your Password
DMCA.com Protection Status

Recent Posts

  • How to use Canva Docs to create documents online
  • PS4 won’t turn on but beeps? 9 Fixes Worth Trying
  • How to Create a Vision Board on Canva
  • How to Cancel Your Wall Street Journal (WSJ) Subscription
  • How to Fix Spotify Lyrics Not Showing Up

Recent Comments

  1. How to Cancel Your Wall Street Journal (WSJ) Subscription on How to Cancel Your New York Times Subscription
  2. How to Fix Spotify Lyrics Not Showing Up on How to Delete or Delete Downloads from Spotify
  3. 6 Best FTP Clients For Android on Disney Plus not working on Fire TV? Try These 8 Fixes
  4. Protect Your Facebook Account From Hackers (2017) on Top 5 Facebook Alternative Apps For iOS Devices
  5. 4 Ways to Share WiFi Without Giving Away Your Password on How to fix if PS5 Not Connecting to Internet?
  • How to Combine Two Images/Pictures without Photoshop Windows 7
  • How To Sign a PDF File Online Computer Tips
  • How To Format Spreadsheet Cells To Automatically Calculate Amounts Computer Tips
  • Best calculator paper rolls 2020

    Best calculator paper rolls 2020. 1 - FungLam Thermal Receipt Paper Rolls 3-1/8 x 230ft, 20 rolls Top Reviews Works wel

  • Fix “Cannot Start Microsoft Office Outlook” Error Office Tips
  • VR Virtual Desktop Apps: Can You Actually Work in VR? Reviews
  • 10 Places to Get Amazing Wallpapers for iPad Pro(2020) How-To
  • How to Watch Netflix in 1080p on Chrome and FireFox How-To

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version