LiveFlow raises $13.5 million Series A led by New York-based Valar Ventures and launches LiveFlow Next to revolutionize accounting!
Read More
Arrow
Back to guides
Google Sheets Tips

How to Find Line of Best Fit in Google Sheets

The line of best fit can be a powerful tool in data analysis and statistics in your Google Sheets workbook.

This article will explain how to find the line of best fit and discuss different scenarios where this could be a useful tool for your accounting and finance needs. 

What is a Line of Best Fit?

The line of best fit, also known as the trend line, is a straight line that represents the best approximation of the relationship between two variables in a scatter plot.

This line can be useful in modeling relationships and predicting future trends. You can insert one into your Google Sheets scatter plot in just a few steps. 

We will begin this guide by creating a scatter plot chart. If your scatter chart is already completed, skip ahead to step 3 to insert the line of best fit. 

  1. The first step is to highlight the data you wish to display on your scatter plot chart, and select “Insert” from the toolbar, then “Chart” from the drop-down menu. 

Insert Chart in Google Sheets
Insert Chart in Google Sheets

Your next financial spreadsheet could be right here!
100+ spreadsheet templates, from FP&A to tax planning.
Free Spreadsheet Templates

  1. The Chart Editor screen will appear. From here, click on “Chart type” and scroll until you find your desired scatter plot chart. 

Scatter Plot Chart in Google Sheets
Insert a Scatter Plot Chart in Google Sheets

  1. You will now have your scatter chart. To add your line of best fit, once again we will need to be in Chart Editor. To do this, select the three dots in the upper right corner of the scatter plot. In Chart Editor, you will select “Customize” and then “Series”.

Customize Chart in Google Sheets
Customize Chart in Google Sheets

  1. From the series tab, we will scroll to the bottom and select the “Trend line” check box. This will add our line of best fit and allow for any customization you desire to enhance visualization. 

 Trend Line to Scatter Plot Google Sheets
Add Trend Line to Scatter Plot Google Sheets

  1. You now have your line of best fit on your scatter plot. 

Scatter Plot with Line of Best Fit
Scatter Plot with Line of Best Fit

The world's top businesses trust LiveFlow to automate their financial reporting
We turn Quickbooks Online data into a live FP&A dashboard in Sheets FAST!
Book a Demo

Additional Google Sheets Tips and Tricks

Are you learning this formula to visualize financial data, build a financial model, or conduct financial analysis? In that case, LiveFlow may help you automate manual workflows, update numbers in real-time, and save time.

You can access various financial templates on our website, from the simple Income Statement to Multi-Currency Consolidated Financial Statement. To learn more about all LiveFlow has to offer, book a demo.

Learn how to do this step-by-step in the video below 👇

Automate financial reporting with LiveFlow

Cta Photo

Want to eliminate manual updates of your Excel & Google Sheets models?

Yes, show me how!

Get personal help

We guarantee you personal help on chat or Zoom within maximum 6 hours between 9am and 10pm EST.
Blue Tick
Email us at: help@liveflow.io

Liked this article? Then you'll love the ones below

Supercharge your financial reporting today

See LiveFlow in action and discover how to streamline your workflows.