In this article:

How to Use SPARKLINE in Google Sheets to Make a Progress Bar

How to Use SPARKLINE in Google Sheets to Make a Progress Bar

To create a progress bar in Google Sheets using the SPARKLINE function, you can follow these steps:

Step 1: Enter Your Data 

Begin by entering the data that represents the progress for different tasks, typically as percentages in a column of your Google Sheet.

Step 2: Add the Progress Bars

In a new cell, use the SPARKLINE function to create a progress bar. 

The basic syntax for a green progress bar looks like this:

=SPARKLINE(B2,{"charttype","bar";"max",1;"min",0;"color1","green"})

Here, B2 refers to the cell containing the progress percentage for the first task. Adjust the cell reference for each task accordingly. Copy and paste this formula down the column to generate progress bars for each task listed.

google sheets sparkline progress bar

Step 3: Format the Progress Bars (Optional)

You can further customize the progress bars to change colors based on the task's completion level. For instance, you might want a green bar for tasks over 70% complete, yellow for tasks over 50%, and red for anything less. 

Here's an example formula that incorporates this logic:

=SPARKLINE(B2,{"charttype","bar";"max",1;"min",0;"color1",IF(B2>0.7,"green",IF(B2>0.5,"yellow","red"))})

This formula uses nested IF statements to determine the color of the progress bar based on the value in B2.

Shown below are the different colors of the progress bar, which should change depending on the value in B2:

At 45%:

sparkline progress bar google sheets

At 60%:

sparkline google sheets progress bar

At 90%:

google sheets sparkline progress bar with text

Remember to adjust the B2 cell reference for each specific task you're tracking. This method allows you to visually represent task completion levels directly within your spreadsheet, making it easier to monitor progress at a glance.

We hope that this article has helped you and given you a better understanding of how to use SPARKLINE in Google Sheets to make a progress bar. If you enjoyed this article, you might also like our articles on how to generate a random number from a list with no repeats in Google Sheets and how to make a grade calculator in Google Sheets.

Automate repetitive tasks with Lido

Save hours on repetitive and tedious work. Lido is a new spreadsheet that connects your spreadsheets, forms, PDFs, and email inbox.

Trigger
Action
Select trigger
When a cell value in Google Sheets changes
Check Google Sheets for today's date
When a new row is added to Google Sheets
On new Google Form submission
Send me a daily reminder
On new Typeform submission
When a cell value in database changes
Check database for today's date
When a new row is added in database
When a new HubSpot customer is created
Select action
ADDCALENDAREVENT
Creates a one- or multiple-day calendar event with optional attendees
ADDHUBSPOT
Adds an object to Hubspot
ADDSLACKCHANNEL
Create a Slack channel, and optionally add a topic or members
CALLURL
Makes any HTTP request
CREATEGOOGLEDOC
Replaces [@column_name] values in a Google Doc with the corresponding table row's values
CREATEPDF
Replaces [@column_name] values in a Google Doc with the corresponding table row's values, then export it as a PDF
FETCH
Makes any HTTP request and returns the response
INSERTROWS
Inserts given array below defined values in given worksheet
SENDGMAIL
Sends an email using your Google account
SENDOUTLOOK
Sends an email using your Microsoft Outlook account
SENDSLACK
Sends a Slack message
SENDSMS
Sends an SMS message using your Twilio account
UPDATECELL
Updates cells with given values
UPDATEHUBSPOT
Updates a property of a Hubspot object
Trigger is required
Action is required
Get started