Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a progress bar on Google Sheets?

I need to make a delivery progress bar on sheets like the one on DoubleClick for Publishers. I want the bar to show the percentage of delivery of a campaign according to its start and end date. Example:

Google DFP progress bar

The progress is calculated as the percentage of impression goal delivered divided by the percentage of time elapsed: progress = (% of impression goal delivered) / (% of time elapsed) Delivery progress assumes an even distribution of impressions.

For example, a line item that has delivered 50% of its impression goal 50% of the way through the campaign has a progress of 100%. However, a line item that’s delivered 50% of its impression goal at the end of day 3 of a 4-day-long campaign would have a progress of: 50 / 75 = 66%

On top of that I need the progress bar to show where in the campaign I am currently (vertical grey line in the photo).

like image 632
Nicki Avatar asked Jan 11 '18 15:01

Nicki


People also ask

How do I add a progress bar in Google Sheets?

Click Add-ons > ProgressBar > Show Progress Bar.

How do you make a progress bar on Google Docs?

To start, open a new tab in your browser and go to forms.google.com Select a new, blank form. Open the settings. Then, select the presentation tab. Select the option to show a progress bar and save the changes.

How do I make a progress graph in Google Sheets?

First, select the whole data in cell range A2:E23. Go to Insert menu, Chart. On the chart editor that appears on the right-hand side, select Chart type > Combo chart. Then click on the chart, and from the drop-down menu, select “Move to own sheet” (optional).

How do I show the percentage in progress bar in Google Sheets?

Percentage Progress Bar Using the SPARKLINE Function in Google Sheets. Instead of the text functions based formula in cell C3, we can use the SPARKLINE (chart) function to draw a percentage progress bar in Google Sheets. Copy this formula to the array C4:C9.


Video Answer


1 Answers

When I used teocrasto's formula, I got error, I probably should have changed something, but the following formula worked well for me.

=SPARKLINE(20,{"charttype","bar";"max",100})

In this example the progress bar is 20% filled. So change the number 100 to your "full" amount and 20 to whatever you want the bar to be filled. You can use cells instead of those number.

If you want to change the color of the "main" bar use this

=SPARKLINE(20,{"charttype","bar";"color1", "blue";"max",100})

It will take common "word" colors, for more precision use hexadecimal (#0000FF).

I hope this helps.

like image 180
branci Avatar answered Sep 22 '22 03:09

branci