Learn how to create sparklines in Excel

Yodalearning>Tutorials>Learn how to create sparklines in Excel

Imagine you have result sheet for your students over the last 5 years and want to create a chart in Excel, which takes time. In that case, you are thinking if only there were some small mini-charts in a single cell. Well here is the solution.

Ever had a worksheet of data in Excel and quickly wanted to see the trend in the data?
Sparklines are an excellent way to show in a small space the trends or variations in a large volume of data. Excel 2010, 2013 and 2016 have a cool feature called sparklines that basically lets you create mini-charts inside a single Excel cell called ‘Sparklines’. You can add sparklines to any cell and keep it right next to your data. In this way, you can quickly visualize data on a row by row basis. It’s just another great way to analyze data in Excel.


What is a sparkline?
Unlike charts on an Excel worksheet, sparklines are not objects — a sparkline is actually a tiny chart in the background of a cell.
Why use sparklines?
Data presented in a row or column is useful, but patterns can be hard to spot at a glance. The context for these numbers can be provided by inserting sparklines next to the data. Taking up a small area, a sparkline can display a trend based on adjacent data in a clear graphical representation. You can quickly see the relationship between a sparkline and its underlying data, even when your data changes you can see the respective changes in the sparkline immediately.
Case Study
In this example we will use a database of an electronics shop that contain profits from each products for the last 5 months. We want to see the trend of profit of the particular product beside it. How we can do this?
Answer: Using Sparklines!

Let’s go through the following steps to create sparklines for this example.

data for sparklines

Step 1: Create a table in an excel sheet same as the above picture. In the cells of column G we will create sparklines based on the data in the adjacent cells.

insert tab for sparklines

Step 2: Click on the cell G2 and go to Insert tab.


Step 3: In the Sparklines group click on ‘Line’.
select data range for sparklinesStep 4: ‘Create Sparklines‘ Dialog box appears. Now in Data Range select range B2:F2 from row Now click OK.
sparkline in excelStep 5: Now we will get the sparkline showing the trend of the values included in row 2 as shown above.
Step 6: Do Step 2 to Step 5 again for the rows 3-6. Then our table will look like the image above.


Tip 1: There is another shortcut way to create sparklines for the rest of rows
get sparkline for each rowSelect Cell G2, then Click on the lower right little pointer of the selection and drag it below to cell G6. You will get the same result!


Tip 2: Change the style of Sparklines
sparkline toolsSelect sparklines and go to Design tab. After selecting, Design tab will show a lot of options to add markers inside sparklines based on your requirements like High point, Low point etc. You can also choose a Design and Color for sparkline from design tab. With these there are some other features like Axis, Edit data, marker color and so on. You can use them as per your requirement.

Now, use this technique to convey more information using less space.

Leave a Reply

Advanced Excel Course

Your courses were useful for me. Thank you again for your quick support and also for your availability.

- Madalina Elena Gheorghe

Free Excel Course
with 210+ Tricks
(UPDATED 2017)