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.
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. 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.
Step 2: Click on the cell G2 and go to Insert tab.
Step 3: In the Sparklines group click on ‘Line’.
Step 4: ‘Create Sparklines‘ Dialog box appears. Now in Data Range select range B2:F2 from row Now click OK.
Step 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
Select 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
Select 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.