Kutools for Excel 23.00 HOT

300+ Powerful Features You Must Have in Excel

Kutools-for-Excel

Kutools for Excel is a powerful add-in that frees you from performing time-consuming operations in Excel, such as combine sheets quickly, merge cells without losing data, paste to only visible cells, count cells by color and so on. 300+ powerful features / functions for Excel 2019, 2016, 2013, 2010, 2007 or Office 365!

Read More Download Buy now

Office Tab 14.10HOT

Adding Tabbed Interface for Office

Office Tab

It enables tabbed browsing, editing, and managing of Microsoft Office applications. You can open multiple documents / files in a single tabbed window, such as using the browser IE 8/9/10, Firefox, and Google Chrome. It's compatible with Office 2019, 2016, 2013, 2010, 2007, 2003 or Office 365. Demo

Read More Download Buy now

Kutools for Outlook 14.00NEW

100+ Powerful Features for Outlook

Kutools-for-Outlook

Kutools for Outlook is a powerful add-in that frees you from time-consuming operations which majority of Outlook users has to perform daily! It can save your time from using Microsoft Outlook 2019, 2016, 2013, 2010 or Office 365!

Read More Download Buy now

Kutools for Word  9.00NEW

100+ Powerful Features for Word

Kutools-for-Word

Kutools for Word is a powerful add-in that frees you from time-consuming operations which majority of Word users have to perform daily! It can save your time from using Microsoft Word / Office 2019, 2016, 2013, 2010, 2007, 2003 or Office 365!

Read More Download Buy now

Classic Menu for Office

Bringing Back Your Familiar Menus

Restores the old look and menus of Office 2003 to Microsoft Office 2019, 2016, 2013, 2010, 2007 or Office 365. Don’t lose time in finding commands on the new Ribbon. Easy to deploy to all computers in enterprises and organizations.

Read More Download Buy now

How to add best fit line/curve and formula in Excel?

For example, you have been researching in the relationship between product units and total cost, and after many experiments you get some data. Therefore, the problem at present is to get the best fit curve for the data, and figure out its equation. Actually, we can add the best fit line/curve and formula in Excel easily.


Add best fit line/curve and formula in Excel 2013 or later versions

Supposing you have recorded the experiments data as left screenshot shown, and to add best fit line or curve and figure out its equation (formula) for a series of experiment data in Excel 2013, you can do as follows:

1. Select the experiment data in Excel. In our case, please select the Range A1:B19, and click the Insert Scatter (X, Y) or Bubble Chart > Scatter on the Insert tab. See screen shot:

2. Select the scatter chart, and then click the Add Chart Element > Trendline > More Trendline Options on the Design tab.

3. In the opening Format Trendline pane, check the Polynomial option, and adjust the order number in the Trendline Options section, and then check the Display Equation on Chart option. See below screen shot:

Then you will get the best fit line or curve as well as its equation in the scatter chart as above screen shot shown.

Easily combine multiple worksheets/workbooks/CSV files into one worksheet/workbook

It may be tedious to combine dozens of sheets from different workbooks into one sheet. But with Kutools for Excel’s Combine (worksheets and workbooks) utility, you can get it done with just several clicks! Free Trial 30 Days Now!        Buy Now!
ad combine sheets books 1

Add best fit line/curve and formula in Excel 2007 and 2010

There are a few differences to add best fit line or curve and equation between Excel 2007/2010 and 2013.

1. Select the original experiment data in Excel, and then click the Scatter > Scatter on the Insert tab.

2. Select the new added scatter chart, and then click the Trendline > More Trendline Options on the Layout tab. See above screen shot:

3. In the coming Format Trendline dialog box, check the Polynomial option, specify an order number based on your experiment data, and check the Display Equation on chart option. See screenshot:

4. Click the Close button to close this dialog box.

Add best fit line/curve and formula for multiple sets of data

In most cases, you may get multiple sets of experiment data. You can show these sets of data in a scatter chart simultaneously, and then use an amazing chart tool – Add Trend Lines to Multiple Series provided by Kutools for Excel – to add the best fit line/curve and formula in Excel.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Free Trial Now!

1. Select the sets of experiment data, and click Insert > Scatter > Scatter to create a scatter chart.

2. Now the scatter chart is created. Keep the scatter chart, and click Kutools > Charts > Chart Tools > Add Trend Lines to Multiple Series. See screenshot:

Now the trendline is added to the scatter chart. If the trendline does not match with the scatter plots, you can go ahead to adjust the trendline.

3. In the scatter chart, double click the trendline to enable the Format Trendline pane.

4. In the Format Trendline pane, tick the trendline types one by one to check which kind of trendlines is the best fit. In my case, the Polynomial trendline fits best. And tick the Display Equation on chart as well.


Demo: Add best fit line/curve and formula in Excel 2013 or later versions


Kutools for Excel includes more than 300 handy tools for Excel, free to try without limitation in 30 days. Download and Free Trial Now!

Related articles:


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    AJ · 8 months ago
    I know my graph is inversely proportional but I need exact numbers. How do I do that?

  • To post as a guest, your comment is unpublished.
    sujal · 3 years ago
    For one material I want to draw a line from starting date which can run few days and will repeat for full month. is it possible in excel to do the same without manual intervention ?
    • To post as a guest, your comment is unpublished.
      kelly.extendoffice@gmail.com · 3 years ago
      Hi Sujal,
      Why not create a table to list your data in Excel, and then create a line chart (Insert > Insert Line Chart > Line) based on the table?
  • To post as a guest, your comment is unpublished.
    Stefano Chioetto · 3 years ago
    Is it possible to increase the equation's coefficients' number of decimals shown on the graph by the "Display Equation" option?
    Is it also possible to export the values of those coefficients to selected cells in the spreadsheet?
  • To post as a guest, your comment is unpublished.
    m uma maheswar rao · 3 years ago
    tell me how to fit a curve where multiple series of data is there ???
  • To post as a guest, your comment is unpublished.
    Bibek limbu · 3 years ago
    its me bibek form darjeeling i will do work on graph but i do not know how do best fit curve ling in excel graph ... plz can be explain....
  • To post as a guest, your comment is unpublished.
    Mohamed · 4 years ago
    Thanks helped me in curve fitting and in extending a line from points
  • To post as a guest, your comment is unpublished.
    ahmadomer63 · 4 years ago
    Thanks, This information helped alot.

Feature Tutorials