Sparklines Are Not Showing in Excel (6 Simple Solutions)

Here’s a sample dataset with sparklines that we’ll troubleshoot.

Overview of not showing sparklines


Sparklines Are Not Showing in Excel: 6 Simple Solutions

We’ll use the sample sales dataset.

Dataset image


Solution 1 – Upgrading Excel Version

Steps:

  • Go to File and select Account.

Selecting Account from the File tab

  • Click on the Update Options and select Update Now. This may resolve the problem as Microsoft Excel 2010 introduced sparklines. Any versions before Excel 2010 will not show sparklines options.

Clicking on Update Now


Solution 2 – Choosing the Data Range and Placement of Sparklines Correctly

Steps:

  • We will go through the whole process of inserting sparklines in Excel.
  • Go to Insert and select Sparklines, then choose Line.

Inserting Sparklines from Insert ribbon

  • The Create Sparklines window will appear.
  • Select Data Range: C5:F6, Location Range: $G$5 and then click OK. You’ll get an error.

Entering Data Range and Location Range

  • Click OK.

Excel Sparline is showing an error

  • Change Data Range: C5:F6 to Data Range: C5:F5 as the Data Range should be one dimensional.

Entering Corrected Data Range

  • You can also get an error for Location Range: $G$5:$G$11.

Entering Data Range and Location Range

  • Click OK.

Excel Sparkline is showing an error

  • If the result in a single cell (G5) you won’t get an error.

Entering Corrected Location Range

  • Drag the Fill Handle down to get all Sparklines.

Applying the Fill Handle tool for creating the Line Sparkline column


Solution 3 – Unprotecting the Excel Workbook

Steps:

  • Consider the following image where the Line under Sparklines under the Insert tab is blurred out.

The Line under Sparklines is blurred out

  • Select File.

Clicking on the File tab

  • Go to Review, then to Protect and select Unprotect Sheet.

Selecting Unprotect Sheet option

  • The Unprotect Sheet window will appear.
  • Insert the password and click OK.

Entering a password

  • Another way you can unprotect a sheet is by following the path: Info > Protect Workbook > Unprotect.

Selecting Unprotect option from the Info section

  • Like the previous step, the Unprotect Sheet window will appear again and you need to insert the password and click OK.

Entering the password to unprotect sheet

  • The Line Sparklines option is available again to use in Excel.

The Line command under Sparklines is visible now


Solution 4 – Removing Unwanted Characters

Steps:

  • In the following image, we have different data with various types of unwanted characters.

Different kinds of unwanted characters

  • We have different data still the Sparkline is flat. It has taken all the data as 0.

Having different data still the Sparkline is flat

  • You can replace all the unwanted characters manually if you have a small amount of data. You can go for the Replace option in Excel if you have large data.

Selecting Replace option

  • The Find & Replace window will appear in Excel. In the Find what box insert a comma (,) and keep the Replace with box empty, and then click Replace All.

Editing the Find & Replace window

  • Microsoft Excel will show a message box about all the replacements that have been done. You need to click OK.

Microsoft Excel message box

  • Convert the values into numbers by pressing Smart Tags and selecting Convert to Number.

Converting to numbers after replacing the comma

  • Create the Sparklines.

Inserting Sparklines


Solution 5 – Converting the Numbers Stored as Text

Steps:

  • Due to the numbers stored in Text format, all the sparklines are flat lines.

Sparklines are not available for data in text format

  • By pressing Smart Tags and choosing to Convert to Number, you can turn them into numbers to get valid Sparklines.

Choosing Smart Tags

  • To solve this issue, you can use Texts to Columns.

Applying Texts to Columns

  • The Convert Text to Columns Wizard- Step 1 of 3 window will appear.
  • Select Delimited and click Next.

Convert Text to Columns Wizard- Step 1 window appears

  • The Convert Text to Columns Wizard- Step 2 of 3 window will appear. Click Next.

Clicking Next

  • In the Convert Text to Columns Wizard- Step 3 of 3, select Column Data Format as General and click on Finish.

Selecting Column Data Format as General

  • You will get the sparklines as shown in the image below.

Sparklines after Text to General format conversion


Solution 6 – Showing Data from Hidden Rows and Columns

Steps:

  • In the following example, there is a hidden E column that had data on Q3 Sales. But that data is not shown in the sparklines.

Hidden column data is not in Sparklines

  • Select the Sparklines, then go to Sparkline, choose Edit Data, and select Hidden and Empty Cells…

Selecting Hidden and Empty Cells

  • The Hidden and Empty Cell Settings windows will appear. Mark the box Show data in hidden rows and columns and click OK.

Marking the box beside Show data in hidden rows and columns

  • The column E still is hidden but we get that data into the sparkline.

Hidden column data is retrieved in Sparklines


Download the Practice Workbook


Related Articles


<< Go Back to Excel SparklinesLearn Excel

Get FREE Advanced Excel Exercises with Solutions!
Al Ikram Amit
Al Ikram Amit

Al Ikram Amit, holding a BSc in Naval Architecture & Engineering from Bangladesh University of Engineering and Technology, serves as a key Excel & VBA Content Developer at ExcelDemy. Driven by a profound passion for research and innovation, he actively immerses himself in Excel. In his role, Amit not only skillfully addresses complex challenges but also exhibits enthusiasm and expertise in gracefully navigating tough situations, emphasizing his steadfast commitment to consistently delivering exceptional, high-quality content that adds significant... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo