How to Make a Sparkline in Excel: Complete Step-by-Step Guide
Sparklines in Excel are small charts that fit inside individual worksheet cells. They help you visualize data trends, patterns, increases, decreases, and comparisons without creating a large chart.
Microsoft Excel offers three main types of sparklines: Line, Column, and Win/Loss.
You can insert them using the Insert tab, select your data range, choose where the sparklines should appear, and customize their appearance using the Sparkline Design tab.
Let’s explore in detail!
What Are the Types of Sparklines in Excel?
Before creating a sparkline, it’s helpful to understand the three types available in Microsoft Excel. Each type displays your data differently, so choosing the right one depends on what you want to communicate.
1. Line Sparkline
A Line Sparkline displays data as a small line graph inside a single Excel cell. It connects individual data points with a line, making it easy to identify trends and changes over time.
For example, if you have monthly sales figures from January through December, a Line Sparkline can show whether your sales are increasing, decreasing, or staying relatively stable.
This type is especially useful for tracking monthly revenue, website traffic, temperatures, expenses, and other data that changes over time.
2. Column Sparkline
A Column Sparkline displays your data using small vertical bars inside an Excel cell. Each bar represents an individual value, making it easier to compare different data points.
For example, if you have sales figures for six different months, you can use a Column Sparkline to see which months performed better and which ones had lower sales.
This type is useful when you want to compare individual values rather than focus mainly on the overall trend.
3. Win/Loss Sparkline
A Win/Loss Sparkline is designed to show whether values are positive or negative. Instead of displaying the actual size of each value, it represents positive and negative results using bars positioned in different directions.
For example, if you track monthly profits and losses, a Win/Loss Sparkline can help you quickly identify which months were profitable and which resulted in losses.
It’s particularly useful for tracking business performance, sales targets, project results, and other positive-versus-negative comparisons.
How to Make a Sparkline in Excel

To make a sparkline in Excel, first enter your data into a worksheet and select the empty cell where you want the sparkline to appear. Go to Insert > Sparklines, choose Line, Column, or Win/Loss, select the data range in the Create Sparklines window, and confirm the location range. Click OK to insert the sparkline.
You can then customize its color, markers, and other display options from the Sparkline Design tab.
Let’s create a sparkline using a simple example.
Step 1: Open Excel and Prepare Your Data
First, open Microsoft Excel on your Windows computer. You can start with a new blank workbook or open an existing spreadsheet containing the information you want to visualize.
For this example, let’s assume you have monthly sales data for three employees. Your worksheet contains employee names in column A, followed by January through June sales figures in columns B through G.
Make sure your data is organized properly. Each row should contain the values you want to represent in one sparkline. For example, the first employee’s monthly sales figures should appear together in cells B2 through G2.
You can also add a heading called Sales Trend in column H. This is where we’ll place the sparklines.
The important thing is to keep your data organized in rows or columns so Excel can easily identify the values you want to visualize.
Step 2: Select the Cell Where You Want to Insert the Sparkline
Now that your data is ready, decide where you want the sparkline to appear.
For our example, click cell H2, which is next to the first employee’s monthly sales figures.
This cell will display the small chart representing the sales trend from January through June.
Make sure the destination cell is empty. Although Excel can sometimes replace existing content when you insert a sparkline, using an empty cell helps you avoid accidentally overwriting important information.
If you want to create sparklines for multiple employees, you can select a corresponding destination range, such as H2:H4, when creating them.
Step 3: Open the Insert Tab
After selecting the destination cell, go to the Insert tab on the Excel ribbon.
You’ll find this tab near the top of your Excel window, alongside Home, Page Layout, Formulas, Data, and other tabs.
Click Insert to display the available tools.
Look for the Sparklines group. It generally contains three options: Line, Column, and Win/Loss.
These are the three types of sparklines we discussed earlier.
For this example, we’ll choose Line because we want to show how sales change from one month to another.
Step 4: Choose Your Preferred Sparkline Type
Click the Line option in the Sparklines group.
Excel will open a small window called Create Sparklines. This window contains two important fields: Data Range and Location Range.
The Data Range field tells Excel which numbers it should use to create the sparkline. The Location Range field tells Excel where the finished sparkline should appear.
You can type the ranges manually or select them directly from your worksheet.
Don’t worry if these terms sound confusing. We’ll fill in both fields in the next step.
Step 5: Enter the Data Range and Location Range
In the Data Range field, enter the cells containing the information you want to visualize.
For our example, type B2:G2. This tells Excel to use the sales figures from January through June for the first employee.
Next, click inside the Location Range field and enter H2. This tells Excel to place the sparkline inside cell H2.
Your settings should look like this:
| Setting | Cell Range |
| Data Range | B2:G2 |
| Location Range | H2 |
After checking both fields, click OK.
Excel will immediately create a small Line Sparkline inside cell H2. You should now see a miniature graph showing the employee’s sales trend.
Step 6: Create Sparklines for Multiple Rows
If your worksheet contains multiple employees, you don’t need to repeat the entire process for every row.
Instead, select the destination range where you want the sparklines to appear. For example, select H2:H4.
Go to Insert > Sparklines > Line again.
This time, enter B2:G4 in the Data Range field and H2:H4 in the Location Range field.
Click OK, and Excel will create a separate sparkline for each employee using the corresponding row of data.
This is a great way to compare several trends in the same worksheet without creating a large chart for every employee.
Step 7: Customize the Sparkline Appearance
Once you’ve inserted a sparkline, click the cell containing it.
Excel will display an additional contextual tab called Sparkline Design or Sparkline under Sparkline Tools, depending on your version.
Open this tab to access different customization options.
You can change the sparkline color, select a different visual style, and highlight important points. For example, you can enable High Point to highlight the highest value and Low Point to identify the lowest value.
You can also enable markers to show individual data points more clearly in a Line Sparkline.
If you want to make your graph easier to understand, choose a color that contrasts with the worksheet background.
Step 8: Change the Axis and Display Settings
Excel also allows you to adjust how sparklines display their values.
Click your sparkline and open the Sparkline Design tab. Look for the Axis option.
Here, you can adjust settings related to the vertical and horizontal axes. For example, you can control whether the minimum and maximum values use automatic scaling or a consistent scale.
This is particularly helpful when comparing multiple sparklines.
For example, if one employee has sales between 100 and 500 while another has sales between 1,000 and 5,000, automatic scaling may make their trends look similarly large. Using the same vertical axis scale helps you compare their actual performance more accurately.
You can also display a horizontal axis when your data includes positive and negative values.
Edit or Delete an Existing Sparkline
If you want to change an existing sparkline, simply click its cell and open the Sparkline Design tab.
You can change its type, update its data range, or adjust its formatting.
If you no longer need a sparkline, select its cell, open the Sparkline Design tab, and find the Clear option.
Choose Clear Selected Sparklines to remove the selected sparkline without deleting the surrounding worksheet data.
This is useful when you’re updating a report or reorganizing your spreadsheet.
How to Create a Sparkline Chart in Excel 2007?
If you’re using Microsoft Excel 2007, there’s one important thing you should know: Excel 2007 doesn’t include the built-in Sparkline feature. Microsoft introduced native Sparklines in Excel 2010.
However, you can still create a similar visual effect in Excel 2007 by inserting a small chart and resizing it to fit inside a worksheet cell.
Here’s how to do it.
Step 1: Open Your Excel 2007 Worksheet
Open Microsoft Excel 2007 and create a new worksheet or open an existing workbook containing your data.
For example, enter monthly sales figures in cells A1 through F2. Make sure the first row contains month names and the second row contains the corresponding sales values.
Having properly organized data will make creating your miniature chart much easier.
Step 2: Select Your Data
Highlight the cells containing the information you want to display.
For example, select A1:F2 if you want to include both the month names and sales figures.
Make sure you select the correct range because Excel will use this information to build your chart.
Step 3: Insert a Small Chart
Go to the Insert tab on the Excel 2007 ribbon.
In the Charts group, choose Line Chart and select a basic 2-D Line Chart.
Excel will insert a chart into your worksheet based on the selected information.
Step 4: Resize the Chart
Click the chart to select it. You’ll notice small resizing handles around its border.
Drag these handles to make the chart smaller. Adjust its width and height until it resembles a miniature graph that can fit inside a worksheet cell.
You can also move the chart next to your original data to make comparisons easier.
Step 5: Remove Unnecessary Chart Elements
To make the chart look more like a sparkline, remove unnecessary elements such as the chart title, legend, and background border.
Click the chart elements you don’t need and press the Delete key.
You can also adjust the chart’s line color and formatting to create a cleaner appearance.
Important: This method creates a small embedded chart, not a true Excel Sparkline. Unlike native sparklines, the chart won’t automatically behave like a sparkline when you resize worksheet cells.
If you need the actual built-in Sparkline feature, you’ll need Excel 2010 or a newer compatible version.
FAQs
1. Can I create a sparkline in Excel without using a formula?
Yes. You don’t need any formula to create a sparkline. Simply select the destination cell, open Insert > Sparklines, choose your preferred type, and enter the data and location ranges.
2. How many types of sparklines are available in Excel?
Microsoft Excel provides three built-in sparkline types: Line, Column, and Win/Loss. Each type is designed for a different way of visualizing data.
3. Can I change the color of a sparkline in Excel?
Yes. Select the sparkline cell and open the Sparkline Design tab. Choose Sparkline Color to change its appearance. You can also customize individual markers and highlight high and low points.
4. Can I create multiple sparklines in Excel at once?
Yes. You can create multiple sparklines by selecting a destination range containing the same number of cells as the rows or columns in your data range. Excel will create an individual sparkline for each corresponding set of values.
5. Why can’t I see the Sparkline option in Excel?
If you’re using Excel 2007 or an older version, you won’t find the native Sparkline option because Microsoft introduced this feature in Excel 2010. Make sure you’re using a compatible version of Excel.
6. Can I copy a sparkline to another cell in Excel?
Yes. You can copy and paste a sparkline using the regular Ctrl + C and Ctrl + V keyboard shortcuts. However, check the referenced data range afterward to make sure it points to the correct cells.
7. Can I delete a sparkline without deleting my original data?
Yes. Select the sparkline cell, open the Sparkline Design tab, click Clear, and choose Clear Selected Sparklines. Your original data will remain untouched.
Summary
Creating a sparkline in Excel is a simple way to make your spreadsheet more informative and easier to understand. Instead of inserting large charts, you can use small graphs inside individual cells to visualize data trends and comparisons.
Excel offers three built-in options: Line, Column, and Win/Loss. You can customize their colors, highlight important data points, adjust axis settings, and create multiple sparklines at once.
If you’re using Excel 2007, remember that native sparklines aren’t supported. You can create a similar appearance using a small, resized chart instead.
