How-to · Excel for Mac

How to add a trendline to a chart in Excel on Mac: steps for Microsoft 365

To add a trendline in Excel on Mac, select the series, then go to Chart Design > Add Chart Element > Trendline and pick a type such as Linear. Excel draws the line over your data straight away, and you can then format it, forecast with it, or show its equation.

Updated Checked against Excel for Mac in Microsoft 365, Excel 2024, and Excel 20215 minEasy

Person at a Mac learning how to add a trendline to a chart in Excel on Mac
Working through a chart on a laptop at a desk · Image by Pexels from Pixabay

Quick answer

  • Click the chart, then click the data series that needs the line.
  • Go to Chart Design > Add Chart Element > Trendline and choose a type such as Linear.
  • Double-click the trendline to format it, or turn on the equation and R-squared value.
  • Trendlines work only on unstacked 2-D area, bar, column, line, stock, XY scatter, and bubble charts.

What you need

  • Excel for Mac in Microsoft 365, Excel 2024, or Excel 2021
  • A chart on an unstacked 2-D area, bar, column, line, stock, XY scatter, or bubble type
  • The data series you want to analyze already plotted on the chart

How to Add a trendline to a chart in Excel on Mac in Excel on a Mac

  1. Select the chart

    Chart Design

    Click anywhere on the chart. When the chart is selected, Excel shows the Chart Design tab in the ribbon at the top of the window. That tab holds the Add Chart Element button you need.

    Tip: If the tab does not appear, see the Chart Design troubleshooting section below.

  2. Select the data series

    Click the line, columns, or dots that belong to the series you want to analyze. The trendline attaches to that series, so click the data itself, not the axis, the title, or empty space.

    Tip: A chart with several series needs the right one selected first.

  3. Open Add Chart Element

    Chart DesignAdd Chart Element

    On the Chart Design tab, click Add Chart Element. The menu lists chart parts such as titles, legends, and gridlines. Trendline is one of the items on that list.

    Tip: Some Mac guides describe a + icon at the top right of the chart. If you see it, click it, then check Trendline.

  4. Point to Trendline

    Chart DesignAdd Chart ElementTrendline

    Move the pointer over Trendline. A submenu opens with the trendline types: Linear, Exponential, Logarithmic, Polynomial, Power, and Moving average. Move straight across so the submenu stays open.

    Tip: If the submenu closes as you move, slow down and move the pointer straight across.

  5. Choose Linear or another type

    Chart DesignAdd Chart ElementTrendlineLinear

    Click Linear to add a straight trendline. For a curve, pick Exponential, Logarithmic, Polynomial, or Power. Excel adds the line to the selected series straight away.

    Tip: Check the line against your points before you move on. The type should match the shape.

  6. Open More Trendline Options

    Chart DesignAdd Chart ElementTrendlineMore Trendline Options

    To name the line or set a forecast, choose More Trendline Options from the Trendline submenu. The dialog lets you name the trendline and set Forecast Forward or Backward. Click OK when you are done.

    Tip: Forecast values count periods, so match them to your axis units.

  7. Click OK and review the line

    Click OK. Excel draws the trendline on the chart. Look at where the line sits against each point. If most points sit far from it, try another type.

    Tip: A trendline is a fit, not a promise about future values.

  8. Format the trendline

    Format TrendlineTrendline Options

    Double-click the trendline to open the Format Trendline pane. Under Trendline Options, turn on Display Equation on chart or Display R-squared value on chart. Under Fill & Line, change the color, width, or dash type.

    Tip: Use a thinner, dashed line if the trendline sits on top of a busy data series.

  9. Remove a trendline when you need to

    Chart DesignAdd Chart ElementTrendlineNone

    Click the trendline and press Delete. Or go to Chart Design > Add Chart Element > Trendline > None to turn it off for the selected series.

    Tip: Removing the trendline leaves your data as it was.

Check your chart type and Excel version first

Trendlines do not work on every chart. Microsoft says they work only on unstacked 2-D area, bar, column, line, stock, XY scatter, and bubble charts. Stacked charts are not supported. Pie charts are not on that list either, so change the chart type before you look for the option.

Check your Excel build too. Microsoft's release notes for Office for Mac list Excel 16.114.3 (Build 26102720) from October 27, 2026 as the latest entry. The entries before it are 16.114.2 from October 26, 2026, and 16.114.1 from October 22, 2026. Each one lists only quality and performance improvements. Microsoft's trendline steps cover Excel for Mac in Microsoft 365, Excel 2024, and Excel 2021, so any of those versions works.

To check yours, open Excel > About Excel. Write down the version number if you need help from Microsoft support. It saves a round trip when someone asks which build you run.

Add a linear trendline on a Mac chart

The most common trendline is linear. It draws a straight line through the general direction of your points, and most people try it first. The steps below use Linear as the example. The same menu works for the other types, so once you know the path, switching types takes seconds.

Person at a Mac learning how to add a trendline to a chart in Excel on Mac
Working through a chart on a laptop at a desk · Image by Pexels from Pixabay

Which trendline type fits your data?

Pick the type that matches the shape of your data. Do not pick the one that looks smoothest. Excel draws whatever you ask for, even when the fit is poor, so the type is your call.

Linear suits steady growth or decline. Exponential suits values that grow or shrink by the same percentage over each period. Logarithmic suits data that rises quickly and then levels off. Polynomial suits curves with bends or waves. Power suits data where one value scales as a power of another. Moving average does not fit a curve at all. It smooths noise by averaging neighboring points.

Trendline types in Excel for Mac and what to check before you use each
Trendline typeUse it whenWatch out for
LinearValues rise or fall at a steady rateCurved data will look wrong on a straight line
ExponentialValues grow or shrink by the same percentageCheck that your values stay positive before you pick it
LogarithmicValues rise fast, then level offCheck your x values before you choose it
PolynomialThe data has bends or wavesHigher orders can chase random noise
PowerOne value scales as a power of anotherNeeds positive values to fit well
Moving averageYou want to smooth out noiseIt shows a smoothed line, not a fitted curve

A quick test helps. Look at the line against the dots. If the points sit close to the line with no clear pattern in the gaps, the type probably fits. If they bow away in one direction, try a different type and compare.

Format the trendline and show the equation

Double-click the trendline to open the Format Trendline pane. Under Trendline Options, you can turn on Display Equation on chart and Display R-squared value on chart. R-squared tells you how closely the line follows the points. A higher value means a tighter fit.

Be careful with where these switches live. Microsoft's trendline article describes a pane with name and forecast options only. The equation and R-squared switches come from The Bricks, a third-party Mac guide published April 22, 2025, which does not name an Excel version. If you do not see them, check the Format Trendline pane in your build before you assume they are missing.

In the same pane, Fill & Line controls the color, width, and dash type. A thinner, dashed line helps a trendline stand apart from a data series that already uses a bold line. That matters on a chart with several series.

Forecast ahead or backward with a trendline

Forecasting extends the fitted line into periods you have not charted yet. Open More Trendline Options, then enter a number in Forecast Forward or Backward. The number counts periods, so match it to the units on your horizontal axis. If your axis shows months, enter months. If it shows years, enter years.

Laptop screen showing a line chart, the kind of chart where you add a trendline in Excel on Mac
A line chart is a common place to add a trendline · Image by RonaldCandonga from Pixabay

A forecast only extends the line. It does not know about seasonal swings, price changes, or one-off events. Treat the extended line as a rough guide, and say so when you share the chart with someone else.

How to remove a trendline in Excel on Mac

Click the trendline to select it, then press Delete. You can also go to Chart Design > Add Chart Element > Trendline > None, which turns off the trendline for the series you selected. Deleting a trendline does not change your data. It only removes the line from the chart.

Why the Trendline option is greyed out

A grey Trendline option usually has one of a few causes. Work through them in order, starting with the chart type, because that is the most common reason.

  • The chart is stacked. Microsoft says stacked charts are not supported. Go to Chart Design > Change Chart Type and pick an unstacked type.
  • The chart is a type Microsoft does not list, such as a pie chart. Change the chart type first, then try again.
  • You selected the wrong element. Click the series itself, not the title, an axis, or empty space, then open the menu again.
  • You are working in Excel for the web. A Microsoft Q&A reply says some features are unavailable there and suggests Editing > Open in Desktop App.

Chart Design tab missing on Mac

Every trendline step starts from the Chart Design tab. If that tab does not appear when the chart is selected, it may have been dropped from the ribbon. A 2022 moderator reply in a Microsoft Q&A thread gives a fix that uses Preferences. Work through it in this order.

  1. Choose Excel > Preferences.
  2. Click Ribbons & Toolbar.
  3. Under Choose commands from, select Tool Tabs.
  4. Select Chart Design in the list.
  5. Click the add arrow to move it onto the ribbon.

Then select your chart again and look at the ribbon. If the tab still does not show, check your build with Excel > About Excel and compare it with Microsoft's release notes. Then update Excel and try once more.

Mistakes people make with trendlines on Mac

  • Adding the trendline to the wrong series. Check which series you clicked before you trust the line.
  • Treating the equation as an exact rule. The equation describes the fitted line, not a law that will hold for future values.
  • Using a stacked chart. The option will be missing or grey, so change the chart type first.
  • Forecasting too far ahead. Long forecasts stretch small errors into large ones.
  • Choosing a complex type because it hugs the points best. A polynomial can chase noise and predict nonsense.
Analyst reviewing data charts before adding a trendline to a chart in Excel on Mac
Checking the fit of a trendline against the data points · Image by sakibmia24 from Pixabay

Ask Lazur where the trendline button is

Hold ⌥ ⌘ (Option and Command) and ask. Lazur sees your screen while you hold the shortcut, so you can ask where a button is. Ask where Add Chart Element is, and Lazur draws a circle and a label around it. Ask how to add a trendline, and Lazur guides you one click at a time, waiting for each click before it moves on.

Lazur does not click for you, and it does not edit your chart. It points, explains, and answers out loud. You stay in control of every change in Excel, and you decide when to move to the next step.

Where to go next with your chart data

Trendlines work best on clean data. If your numbers come from raw rows, build a summary first. The pivot table guide walks through that for Microsoft 365 users. Once the chart looks right, the Excel page explains how Lazur helps with buttons and formulas on Mac.

Lazur has a 3-day Pro trial with no credit card. The trial starts when you first open the app. Prices are on the pricing page, and you can get the app from the download page.

If it does not work

The Chart Design tab is missing
Add it back in Excel > Preferences > Ribbons & Toolbar. Under Choose commands from, select Tool Tabs, choose Chart Design, and click the add arrow. Then select the chart again.
The Trendline option is greyed out
Check for a stacked chart, a pie chart, or Excel for the web. Change the chart type with Chart Design > Change Chart Type, or open the file in the desktop app with Editing > Open in Desktop App.
The equation or R-squared switch is missing
Double-click the trendline and look in Trendline Options. The Bricks guide describes these switches on Mac but does not name a version. If they are missing, check your build under Excel > About Excel.
The trendline does not follow the points
Try a different type, confirm you selected the right series, and shorten any forecast. A poor fit is a result, so the type may simply be wrong for this data.

Faster with Lazur

Do it faster: ask Lazur while you are in Excel

Hold ⌥ ⌘ and say what you want. Lazur sees your Excel window. Lazur guides you one click at a time and waits for each click.

  • 1

    Hold ⌥⌘ and talk

  • 2

    Lazur guides you one click at a time and waits for each click.

  • 3

    You stay in Excel. Nothing to copy into a chat window.

Free for 3 days, then $18/month. Download for Mac

You say“Where's the Add Chart Element button?”

Lazur · walks you through itLazur circles Add Chart Element on your screen, then waits while you click through to Trendline.

Excel
HomeInsertAdd Chart ElementClick here firstDrawFormulasDataReview

Questions people ask

Can I add a trendline to a pie chart in Excel on Mac?

Not directly. Microsoft lists the supported chart types as unstacked 2-D area, bar, column, line, stock, XY scatter, and bubble charts. A pie chart is not on that list, so change the chart type first. Then add the trendline as usual.

Is there a keyboard shortcut to add a trendline on Mac?

None of the Microsoft pages or the third-party guide used for this page list a Mac shortcut for trendlines. Use the Chart Design tab and the menus instead. Check Microsoft's keyboard shortcut pages for updates if you need one.

Does a trendline change the numbers in my cells?

No. A trendline is drawn on the chart and does not edit the values in your cells. Deleting the trendline removes only the line from the chart.

How do I show R-squared on the chart in Excel for Mac?

Double-click the trendline, open Trendline Options, then turn on Display R-squared value on chart. The Bricks guide describes this on Mac but does not name an Excel version. If the switch is missing, check your build under Excel > About Excel.

Can I add a trendline in Excel for the web?

Some features are unavailable in Office for the web, according to a Microsoft Q&A reply. Use Editing > Open in Desktop App, then add the trendline in Excel for Mac. Full web limits are not documented in the sources used for this page.

Which Excel versions does this work in?

Microsoft's trendline steps apply to Excel for Mac in Microsoft 365, Excel 2024, and Excel 2021. To see your build, open Excel > About Excel. The latest Mac build in Microsoft's release notes is 16.114.3 (Build 26102720), dated October 27, 2026.

Can Lazur add the trendline for me?

No. Lazur points at the button, circles it on your screen, and guides you one click at a time. It does not click, edit your chart, or operate Excel for you.

Why does my trendline look wrong even though the steps worked?

Usually the type or the series is wrong. Try a different type, confirm you picked the right series, and shorten any forecast. A trendline is a fit, so a poor match is still a valid result that tells you something.

Sources

  1. Add a trend or moving average line to a chart · Microsoft Support · checked 2026-11-09
  2. Predict data trends · Microsoft Support · checked 2026-11-09
  3. Create a chart in Excel for Mac · Microsoft Support · checked 2026-11-09
  4. How to Insert a Trendline in Excel on Mac · The Bricks · checked 2026-11-09
  5. Is there no chart design tab for Excel on Mac? - Microsoft Q&A · Microsoft Q&A · checked 2026-11-09
  6. Release notes for Office for Mac · Microsoft Learn · checked 2026-11-09

Try Lazur free for 3 days

Hold a key and ask. Lazur sees your screen, points at the button and talks you through it, in any Mac app. No credit card.