Yes. Microsoft Excel for Microsoft 365 includes sparklines: tiny charts placed inside worksheet cells to show trends in nearby data. To create one in Excel for Windows, select the destination cell, choose Insert > Sparklines > Line, Column, or Win/Loss, then enter the source data range and location range.
What sparklines show in Excel
A sparkline is a compact visual summary of a series of numbers. Unlike a regular chart, it sits in a worksheet cell rather than in a separate chart area. This makes it useful when a table has many rows and you want a quick visual cue beside each row without taking up space for a full chart.
For example, a sales table might contain one row per product and twelve monthly sales figures. A sparkline in the next column can show whether that product’s sales generally rose, fell, or fluctuated during the year. The figures remain in the cells, so readers can still inspect exact values; the sparkline adds a visual pattern rather than replacing the data.
Sparklines are not formulas and do not display axes, titles, or legends in the way a conventional chart does. They are designed for quick comparisons and compact dashboards, not detailed analysis. Excel updates a sparkline when its source values change, just as it updates a chart linked to worksheet data.
How to create a sparkline
In Excel for Microsoft 365 on Windows, the Insert tab provides three sparkline types. You can create one for a single series or fill a range of destination cells with a set of related sparklines.
- Arrange the numbers so each series is in a row or column. For example, put January through December values in B2:M2 and leave N2 for the sparkline.
- Select the blank destination cell, or select the destination range if you are creating several sparklines at once.
- Choose Insert > Sparklines, then select Line, Column, or Win/Loss.
- In the Create Sparklines dialog, set Data Range to the cells containing the numbers and Location Range to the cell or cells where the sparklines should appear. If you selected the destination cells first, Excel may fill in the location range automatically.
- Select OK. Resize the destination column or adjust cell formatting if the result is difficult to see.
For a group of products, the ranges should correspond: each source row should produce one sparkline in the matching destination row. For example, source data B2:M6 can be paired with destination cells N2:N6. Check that the destination cells are the right size and that you have not accidentally included labels or totals in the numeric source range.
Excel for Mac has the same basic workflow through Insert > Sparklines, though ribbon placement and dialog appearance can differ slightly by update. Excel for the web can display workbook sparklines, but available editing and formatting controls may differ from the desktop app. If a control is missing in the browser, open the workbook in the desktop version of Excel.
Choosing line, column, or win/loss
The best type depends on what the values mean and what comparison you want to make. Changing the type does not change the source data; it changes how Excel draws that data in the cell.
- Line: Connects values to emphasize the overall direction and shape of a series. It is a common choice for measurements over time, such as monthly website visits or weekly inventory levels.
- Column: Draws a small vertical bar for each value. It can make individual periods easier to compare, especially when differences between neighboring values matter more than a smooth trend.
- Win/Loss: Shows whether each value is positive, negative, or zero using blocks of consistent height. It is useful for outcomes such as wins and losses, above- or below-target results, or whether a daily change was positive or negative. It does not communicate the size of each result.
A line sparkline is not automatically the best choice just because the data has dates. If the reader needs to compare precise amounts, a nearby number column or a full chart may be more informative. Win/Loss is particularly easy to misread if users assume taller blocks mean larger values; its purpose is direction or outcome, not magnitude.
Formatting colors, markers, and important points
Select a sparkline to reveal its contextual Sparkline tab. The commands there let you change the type, style, color, and display options. Available controls can vary slightly with the selected type. For a line sparkline, for instance, you can show markers for individual values; markers are not a substitute for the columns used by a Column sparkline.
The Show options can highlight features such as the first point, last point, highest point, lowest point, and negative points. These markers help readers find an important value without adding a separate chart label. For a series of monthly results, highlighting the last point can make the most recent month stand out, while showing the high and low points helps reveal the range.
Use the Sparkline Color control to change the series color and the Marker Color options to distinguish specific points. A restrained color scheme usually works best in a dense table. Make sure any color difference remains understandable if the sheet is printed in grayscale or viewed by someone with color-vision differences. Markers, cell labels, and clear headings can provide additional cues.
Cell formatting also affects readability. A narrow column can compress a sparkline, while a very short row can make it hard to interpret. Increase row height or column width if needed, and avoid placing a sparkline against a fill color that makes its line or bars difficult to see. The sparkline is still contained in its cell, so ordinary worksheet layout decisions matter.
Axis settings and fair comparisons
Axis scaling is one of the most important choices when comparing sparklines. If Excel scales each sparkline independently, a small change in one row may appear as dramatic as a much larger change in another. That can be useful when the goal is to see the shape within each series, but it can mislead when the goal is to compare absolute changes across rows.
Select the sparkline or group, open the Sparkline tab, and use the Axis options to choose how the vertical axis is handled. Depending on the option and sparkline type, Excel can use automatic scaling for each sparkline or use a consistent scale across a group. A shared scale makes cross-row comparisons more meaningful when the same units and comparable ranges are involved. If the series have very different ranges, a shared scale may flatten the smaller ones until their patterns are hard to see.
For example, suppose two store rows show monthly sales. Store A varies between 95 and 105 units, while Store B varies between 10 and 20. Independent scaling can make both lines look equally volatile, even though their ranges are different. A common scale reveals the absolute difference, but Store B’s small fluctuations may become less visible. Pick the setting that matches the question, and label the measure and units in the table so the visual is not interpreted in isolation.
With Column sparklines, the axis baseline matters too, particularly when values include both positive and negative numbers. A meaningful zero baseline helps distinguish direction. Avoid relying on a tiny visual alone to communicate a threshold or a precise difference; display the figures or use a full chart when those details affect a decision.
Working with groups and source data
When you create multiple sparklines together, Excel can treat them as a group. Grouped sparklines can share formatting and axis settings, which makes a table more consistent. Select a sparkline in the group to apply a style or display option across the group; if you need a different treatment for one row, use the ungroup command on the Sparkline tab before formatting that sparkline separately.
To change the values represented, select the sparkline and use the data-editing command on the Sparkline tab to adjust its data range or location. To remove a sparkline, select its cell and choose Clear from the Sparkline tab. Deleting the cell contents with the keyboard is not always the same as removing a sparkline, so use the dedicated clear command when the visual remains after an ordinary edit.
Keep source data organized and avoid mixing totals, text labels, or unrelated measures into a series. If a table uses dates across columns, keep the dates in chronological order. If the data contains blanks, errors, or hidden rows, check how those values are being represented before drawing conclusions. Excel provides sparkline data options for how empty cells and hidden data are handled, but the appropriate setting depends on whether a gap means missing information or genuinely no activity.
A practical example: monthly product sales
Imagine a worksheet with product names in column A, monthly sales in B:M, and a Trend heading in N. Select N2, choose Insert > Sparklines > Line, set Data Range to B2:M2 and Location Range to N2, and confirm. Repeat for other products by filling the sparkline setup down or creating the whole set with the matching ranges B2:M10 and N2:N10. Each row then gives a compact view of one product’s year.
For a simple dashboard, consider showing the latest point and the high and low points, then use the same vertical scale for the group if readers need to compare sales changes between products. Keep the monthly figures visible or readily accessible: a sparkline can reveal a dip but cannot explain whether it was a one-month stock shortage, a seasonal pattern, or a data-entry issue. Add a clear heading and units, and do not use a sparkline as the only evidence for a significant business conclusion.
Sparklines compared with regular charts
Use sparklines when space is limited and the main purpose is to scan patterns across many rows. They work well beside a table of figures, where labels and exact values are already available. A group of small line or column visuals can make an unusual row easier to spot without taking over the worksheet.
Use a regular chart when readers need a title, axis labels, a legend, annotations, or a more precise view of values. A line chart is generally better for presenting one series to an audience; a sparkline is more convenient for showing many series inline. They can also complement each other: use sparklines for quick scanning and a full chart for a selected product or period that deserves closer examination.
Frequently Asked Questions
Are sparklines available in Excel 365?
Yes. Microsoft Excel for Microsoft 365 includes line, column, and win/loss sparklines. On Windows, create them from Insert > Sparklines. The exact ribbon layout can vary on Mac and in Excel for the web.
Can I put a sparkline in the same cell as a number?
A sparkline is placed in a worksheet cell, so it cannot occupy the same cell as a separate numeric value. Put the number in a neighboring cell and the sparkline in its own cell, or use a regular chart if the layout needs a different arrangement.
Why does one sparkline look much more dramatic than another?
Excel may be scaling each sparkline independently. Choose a consistent vertical scale for the group when you want to compare the size of changes between rows. Independent scales can still be useful for comparing each series’ internal pattern.
Can I show negative values in a sparkline?
Yes. Line and column sparklines can represent negative values, and the Sparkline tab includes options for showing negative points. Win/Loss is also designed to show positive and negative outcomes, but it does not show how large the values are.
Do sparklines update when the source values change?
Yes. A sparkline reflects changes to its source data. If it does not appear to update as expected, check that its data range points to the intended cells and that the source values are numeric and calculated as expected.
Related
- Microsoft Excel Scenario Manager: Setup, Uses, and Limits
- Microsoft Excel: Remove Page Break Lines and Hide Them
- Microsoft Excel Scatter Plot: How to Create and Read One
Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.
More in Charts & pivot tables
- Reverse Waterfall Chart in Excel: How to Make OneTo make a reverse waterfall chart in Excel for Microsoft 365 on Windows, enter the starting total and…
- Excel Line Chart With X and Y Values: Setup and TipsTo make an Excel line chart, put your x values in one column and the matching y values…
- Insert a Linked Excel Chart in PowerPoint: Keep It UpdatedTo insert a linked Excel chart in PowerPoint for Microsoft 365 on Windows, select the chart in Excel…
- Excel Chart Labels: Add, Format, and Fix ThemIn Excel for Microsoft 365 on Windows, select a chart, then choose Chart Design > Add Chart Element…
- Excel Histogram: Change the Number of Bins or Bin WidthTo change an Excel histogram’s bin count in Microsoft 365 for Windows, click the chart’s horizontal axis, right-click…
- Pivot Bar Chart in Excel: How to Build and UseA pivot bar chart is a horizontal bar chart connected to a PivotTable, so you can summarize and…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.