How to make Progress Bars in Notion

Demo:
How your progress bar will change with your data
Formula Example:
Formula Example
Building the formula step by step
% calculation:
prop("Hours completed") / prop("Hours allocated") * 100
Round the % to the nearest whole number
round(prop("Hours completed") / prop("Hours allocated") * 100)
Convert to text:
format(round(prop("Hours completed") / prop("Hours allocated") * 100))
Add % symbol:
format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%"
Add if statement & output if “Hours completed” is empty or zero:
if(prop("Hours completed") / prop("Hours allocated") == 0, "❌" ,"")
Add ■ progress marker:
Notes:
The easiest way to insert the squares on a Mac is from the character picker.
We found that Notion inverts the colour of this symbol in dark mode so you will have to use White Square, rather than Black Square.
But it’s possible that most people reading this aren’t using dark mode, I’ve used Black Square in this guide.
"■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%"
Add ■ number & % as output if “Hours completed” is greater than 0 and less than or equal to 0.1:
if(prop("Hours completed") / prop("Hours allocated") == 0, "❌", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.1), "■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%",""))
Add outputs for each tier that needs another ■ to indicate progress:
note
Although you can’t see all of the spaces, either on this page or in the formula editor, we’ve added 31 spaces before the ❌ and ✅ emoji, plus enough spaces after each of the progress blocks to align the emoji and text in the progress column.
if(prop("Hours completed") / prop("Hours allocated") == 0, " ❌", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.1), "■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.2), "■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.3), "■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.4), "■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.5), "■■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.6), "■■■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.7), "■■■■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.8), "■■■■■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.9), "■■■■■■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.99), "■■■■■■■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", "")))))))))))
🎉 Finished formula
Add ✅ if task is 100% complete:
if(prop("Hours completed") / prop("Hours allocated") == 0, " ❌", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.1), "■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.2), "■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.3), "■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.4), "■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.5), "■■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.6), "■■■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.7), "■■■■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.8), "■■■■■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.9), "■■■■■■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(smallerEq(prop("Hours completed") / prop("Hours allocated"), 0.99), "■■■■■■■■■■ " + format(round(prop("Hours completed") / prop("Hours allocated") * 100)) + "%", if(prop("Hours completed") / prop("Hours allocated") == 1, " ✅", ""))))))))))))
The easiest way to move this into your own table is to rename the columns in your table as “Hours allocated” and “Hours completed”, add the formula property and then rename the columns. The formula will automatically update to use the new column names.
Trying to wrap your head around ?
If you’re still learning to use Notion and don’t want to wrap your head around all of these formulas, make sure to check out our template that make use of all of these formulas for free here -
See you around, Notioner ;)
Templates that do this for you
Built by independent makers on Prototion.
$20Birthday Plannings
@lunasa.businessBirthday Plannings gives you an ability to plan, manage and execute birthdays of your beloved ones all in one place.
$5Typing Speed Tracker
Improve your typing skills with this 30-Day Typing Speed Tracker. Log your progress daily and see real time results.
$7To Do Dashboard
This To Do Dashboard takes a multiview approach to help you stay on top of your daily tasks.