Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to do a t-Test in Excel?
  • Create Scatter Chart in Excel
  • How to Use Solver Tool in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • How To Create Frequency Distribution in Excel

References

  • Two-way lookup with VLOOKUP in Excel
  • How to use Excel MATCH Function
  • Count unique text values with criteria
  • Approximate match with multiple criteria in Excel
  • How to get last row in text data in Excel

Data Validations

  • Excel Data validation no punctuation
  • Excel Data validation must not contain
  • Excel Data validation date in specific year
  • Prevent invalid data entering in specific cells
  • How To Create Drop-down List in Excel

How to add Trendline to a chart in Excel

by

The essence of adding a trendline to chart  is to show visual data trends.

This example teaches you how to add a trendline to a chart in Excel.

1. Select the chart.

2. Click the + button on the right side of the chart, click the arrow next to Trendline and then click More Options.

 The Format Trendline pane appears.

3. Choose a Trend/Regression type. Click Linear.

4. Specify the number of periods to include in the forecast. Type 3 in the Forward box.

5. Check “Display Equation on chart” and “Display R-squared value on chart”.

Result:

Explanation: Excel uses the method of least squares to find a line that best fits the points. The R-squared value equals 0.9295, which is a good fit. The closer to 1, the better the line fits the data. The trendline predicts 120 sold wonka bars in period 13. You can verify this by using the equation. y = 7.7515 * 13 + 18.267 = 119.0365.

Post navigation

Previous Post:

VLOOKUP without #N/A error in Excel

Next Post:

Manipulating text strings using Left, Mid, Right, Len, Substitute in Excel

Leave a Reply Cancel reply

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

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IF function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel XOR Function
  • IF with wildcards in Excel
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • IF, AND, OR and NOT Functions Examples in Excel

Date Time

  • TIME function: Description, Usage, Syntax, Examples and Explanation
  • SECOND function: Description, Usage, Syntax, Examples and Explanation
  • Display the current date in Excel
  • How to join date and text together in Excel
  • Count day of week between dates in Excel

Grouping

  • Group numbers with VLOOKUP in Excel
  • How to randomly assign data to groups in Excel
  • Group times into unequal buckets in Excel
  • Group times into 3 hour buckets in Excel
  • Group numbers at uneven intervals in Excel

General

  • How to choose page/paper size in Excel before Printing
  • Currency vs Accounting Format in Excel
  • Hide and Unhide Columns or Rows in Excel
  • How to calculate project complete percentage in Excel
  • Cell References: Relative, Absolute and Mixed Referencing Examples
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning