How can I add the values of a column in a table in confluence?

I want the total of a column in a table in confluence. I dont want any plug in just simple total column value. How can I do this? Is there a html code that I use in the html macro? 

5 answers


as far as i know it is not possible to do simple calculation. but here are what I can think of as an option:

you can create your table in an excel file, do your calculation, add it to your confluence page and use excel macro to show it on your page. 


you can use this free plugin:

The Table Plus Macro from Advanced Tables for Confluence has auto total and average capabilities. Formatting the Auto Total Row for Numeric Columns has more details.


For any calculations in Confluence, including any manipulations with table data, you may use CelesteCS Math for Confluence.

Assume you have a table with three columns and three rows on your page – from A1 till C3, where row 1 is the header row. The sum calculation formula for rows 2 and 3 will be simple:


There is a plenty of other functions in the macro, so you may perform any calculations using formulas in EXCEL style.


Table Filter and Charts add-on provides you with an ability to add a total column or row. Or you can use Pivot Table for calculations.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

357 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you