HOW TO INSERT SPARKLINES IN EXCEL: Step-By-Step Guide

How to insert Column Sparklines in Excel what are
Image by Freepik

Sparklines can also be referred to as in-line charts. If you’re wondering when to utilize sparklines, it’s when you need the chart or graph to look as close to the data as feasible. A sparkline is typically appended to the last row or column of a table of data. So, why not read further to know more about how to insert Sparklines in Excel? Enjoy the ride!

What Are Sparklines?

Data trends and patterns can be quickly visualized with sparklines, which are small, condensed charts that fit into a single cell in Microsoft Excel. Data may be quickly analyzed with these miniature graphs, eliminating the need for elaborate charts. Particularly helpful for dashboards, reports, and presentations, sparklines are a fantastic tool for displaying data in a concise and easy-to-read style. In this detailed guide, we’ll look at what sparklines are, how to make them in Excel, and how to change them to make them work better. Sparklines are not physical entities like traditional charts. These serve as the permanent backdrop of a given cell.

What Are Sparklines in Excel?

The sparkline fits within the space of a single cell and is a little graph. They are frequently referred to as “in-line charts” because of their intended placement next to the primary data with minimal disruption.

It can be applied to any tabular set of numbers. Typical applications include the representation of temporal changes, stock price movements, and sales data across time. A clear graphical display of a trend in each row or column of data is obtained when sparklines are inserted adjacent to the rows or columns of data. Excel 2010 was the first edition to include Sparklines, and since then, all subsequent versions of Excel (2013, 2016, 2019, and Office 365) have included them as well.

Types of Sparklines in Excel

There are three types of Sparklines in Excel. Choose the desired Sparkline type from the Insert menu. Excel’s Sparklines come in three distinct flavors.

#1. Line Sparkline

High values on an Excel Line Sparkline suggest a fluctuation in height difference. The sparklines resemble skinny, standard lines. You can use markers or not, just like a regular Excel line chart. You may customize the line’s appearance and even the color of the line and the markers.

#2. Column Sparkline 

Excel’s column Sparkline will look like a column chart or a bar chart. One bar represents one value. The vertical bars of these little charts represent data. Like a traditional column graph, the positive values are shown above the x-axis and the negative values are shown below it. Empty space is shown instead of a zero number when displaying data. In addition to highlighting the largest and smallest points, you can also customize the color of the positive and negative microcolumns.

#3. Win/Loss Sparkline

The primary function of the win/loss sparkline is to depict unfavorable numbers, such as fluctuations in the value of floated costs. This sort of sparkline looks a lot like a column sparkline, except that it doesn’t indicate the size of a data point using different-sized bars. The y-intercept represents the number of victories, and the x-intercept represents the number of defeats.

A win/loss sparkline is a type of binary micro-chart, useful when dealing with values that can only take on one of two possible values (True or False) or a negative value (-1). It renders the data in a variety of ways, depending on the kind. The line is a miniature version of a line chart, the column of a bar chart, and the win/loss of a waterfall chart, respectively.

Why Use Sparklines?

A Sparkline graph saves you the trouble of making a massive chart, which might be perplexing while performing analysis. When depicting a subset of a vast dataset, this is a frequent method of visualization employed in dashboards. Unlike Excel graphs, sparklines exist in a cell as plain old data. Sparkline will adjust its size to fit the cells in an expanded Excel document.

How to Insert Sparklines in Excel

Here are steps on how to insert Sparklines in Excel:

To insert column Sparklines in Excel, you must first pick a column containing relevant data.

Step 1: Select Types of Sparklines

Select the column containing the month “June” and then choose Sparkline from the menu that appears. Choose one of the three available Sparkline formats.

Step 2: Select a Group of Cells

  • To specify the range of cells into which to insert the Sparkline, a dialog for doing so will open.
  • The arrow next to the data range box allows you to select a specific set of cells.

Step 3: The Selected Data Range will be Shown

In the ‘Data Range’ text box, choose the 2011 data starting at the first row. B2:G2 will be displayed as the range.

Step 4: Choose Location Range

Selecting a second range specifies the coordinates of the desired Sparkline insertion. Please provide the location of the cell where the Sparkline is needed.

Step 5: Press ‘OK’ Button

After you have chosen your ‘Data Range’ and ‘Location Range,’ click the ‘OK’ button.

Step 6: Sparkline is Created in the Selected Cell

After the data is selected, a Sparkline is generated and placed in the cell H3 of the active worksheet.

How to Insert Column Sparklines in Excel to Multiple Cells

One technique to place sparklines in several cells is to insert them into the first cell and copy them down. Another option is to generate sparklines for every cell simultaneously. Selecting a complete range rather than a single cell follows the same procedure as stated above.

Instructions for adding sparklines to numerous cells are provided below:

  • Mini charts can be inserted into selected cells.
  • Click the Insert button and select the sparkline style you want to use.
  • Choose the entire range of cells to use as the data source in the Create Sparklines dialogue box.
  • Verify that the Location Range shown in Excel is where you want your sparklines to appear.
  • Select the “OK” button.

Editing the DataSet of Existing Sparklines

If you click the gear icon next to a sparkline, you’ll see an option to “Edit Data.” When selecting “Edit Data” from the menu, you can make the following changes:

#1. Location Information & Group Edits

 When many sparklines have been grouped together and the data for the entire group needs to be updated, use this.

#2. Data Editing for a Single Sparkline 

Input new values here to update just that sparkline’s information.

When you select one of these buttons, a dialogue window appears where you can make adjustments to the data range.

Read Also: HOW TO ADD TIME IN EXCEL: Fast & Easy Guide

How to Change Sparklines in Excel

What would be the next logical step after making a micrograph in Excel? Adjust it so that it fits your needs! When you click on an existing sparkline on a sheet, a new tab labeled “Sparkline” appears where you can make any necessary adjustments.

#1. Change  the Kind of Sparkline

Follow these steps to quickly alter the sparkline type:

  • Pick some worksheet sparklines to analyze.
  • Go to the Sparkline subtab.
  • Select your preferred option from the Type menu.

#2. Show Markers and Highlight Specific Data Points

Important data in sparklines might be highlighted differently to draw attention to it. For each data point, you can also place a marker.

Here is a quick rundown of everything you can do:

  • The Pinnacle: a sparkline’s maximum value is highlighted.
  • The Pitfall: draws attention to the sparkline’s minimal value.
  • Negative Points: emphasizes all the negative information.
  • Initially: changes the color of the first data point.
  • Last Point: modifies the most recent data point’s color.
  • Markers: put labels on each individual data point. Only line sparklines have this option.

Change Sparkline Color, Style and Line Width

The style and color settings for sparklines can be adjusted under the Sparkline tab, within the Style group.

  • Choose a pre-made sparkline format from the available options. To view all available options, select “More” from the drop-down menu.
  • If you don’t like Excel’s Sparkline’s default color, you can change it by clicking the arrow next to Sparkline Color and selecting a new hue. Weight allows you to select a specified width for the line or to enter a custom weight. Weight is an option for line sparklines only.
  • Click the down arrow beside “Marker Color” and select the data point or markers you want to modify the color of.

Customize Sparkline’s Axis

Excel sparklines are typically created without the use of axes or coordinates. However, if you require it, you have the option of displaying a horizontal axis and making a few other adjustments. Information is provided below.

How to Change the Axis Starting Point

When you create a sparkline chart in Excel, the default setting places the smallest data point at the bottom and scales up from there. This may lead to misinterpretation in certain cases, where the lowest data point may appear to be near zero and the variation between data points may appear to be more than it actually is. Fixing this is as simple as setting the zero point on the vertical axis, or any other value you see fit. This can be achieved by doing the following:

  • Choose some sparkline.
  • The Axis button can be found in the Sparkline sub-tab.
  • Select Custom Value from the list of Minimum Value Options for the Vertical Axis.
  • In the resulting dialogue box, set the minimum value for the vertical axis to 0 or whatever else you like.
  • Select the “OK” button.

How to Show the x-axis in a Sparkline

  • Select the micro chart’s axis you want to display, then go to the Sparkline tab and click Axis > Show Axis.
  • Sparkline’s horizontal axis should be displayed.
  • The optimal conditions for this are when the x-axis has both positive and negative values (data points).

How to Format Sparklines in Excel

Sparkline must be formatted first. The Sparkline will appear after you click it. To access the Sparkline customization options, click the new design tab that just appeared in the menu bar. Examine your choices one by one.

Sparkline’s various features are adaptable to your specific requirements. Some of these elements are the axis, color, thickness, and kind.

How to Change the Style of the Sparklines Excel?

Here is how to change the style of the Sparklines in Excel:

Step 1: Choose a look by clicking the ‘Style’ menu item under “Design.” These are the options for the available styles.

Step 2: Select your preferred style from a comprehensive design collection by clicking the down arrow beside the style selection.

How to Change the Color of the Sparklines?

The Sparkline Color setting lets you modify the Sparkline’s appearance, including its hue and thickness. There’s a rainbow of shades to choose from.

Step 1: In the design menu, choose the Sparkline, and then choose the Sparkline Color option.

Step 2: To select a different hue, just click on it. When you change the color, the Sparkline will reflect the change.

Change the Width of Lines

The ‘Sparkline Color’ pane has a slider that lets you change the line spacing.

  • Choose the Sparkline chart type and then head to the menu bar’s “design” section.
  • Select “Sparkline Color” from the menu.
  • Adjust the Sparkline’s weight to your liking by clicking the Weight menu item.
  • Change to the Weight menu. A table of standard gauges will be generated. The weight can be adjusted to suit your needs.

Deleting the Sparklines

A sparkline can’t be removed by just selecting the cell and pressing the delete key.

Here’s what you need to do to get rid of a sparkline:

  • Choose the cell that contains the sparkline you wish to remove.
  • Select the Design tab in Sparkline Tools.
  • Select “Clear” from the menu.

Advantages of Sparklines in Excel

  • Data, such as temperatures or stock prices, are represented graphically.
  • Reducing the size of information.
  • For a limited time, data reports will be generated.
  • Examine temporal patterns in the data.
  • Simple oscillations in the data can be understood.
  • improved comprehension of extreme values.
  • Sparkline also works well for floating negative values.
  • When the width of a cell is altered, Sparkline instantly resizes itself to fit the new dimensions.

What Is the Function of the Sparkline?

A sparkline is a little chart that may be placed in a single worksheet cell to offer a graphical representation of data. You can use sparklines to highlight maximum and minimum values in a series and seasonal changes, economic cycles, and other patterns in the data.

What Is the Difference Between a Chart and a Sparkline?

The sparkline fits within the space of a single cell and is a little graph. Sparklines are frequently referred to as “in-line charts” because of their intended placement next to the primary data with minimal disruption. It also can be applied to any tabular set of numbers. Sparklines are intended to be brief, memorable, and located where they are discussed, while traditional charts are made to professionally convey as much data as possible and are separated from the flow of writing.

Final Thoughts

This article made an analysis of how to insert sparklines in Excel. We do hope the article was helpful. Let’s hear from you in the comment section below!

References

0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like