Is it possible to perform sum calculation in a confluence table without using any plugin
Asked by infotech:

Hello,

Is it possible to perform a simple sum calculation in a table in confluence?

Thanks

Sudheer


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi there,

As this Community thread mentions our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=cloud&utm_source=atl_community) app, we are happy to introduce its new macro -- [Table Spreadsheet](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Spreadsheet+macro?utm_source=atl_community).

The macro allows you to work with fully functional Excel spreadsheets right in Confluence.

You'll be able to use cells' formulas, filters, conditional formatting, etc., create pivot tables and charts from the page view and edit mode.

The Table Spreadsheet macro is available for Cloud and Server/Data Center.

![](https://docs.stiltsoft.com/download/attachments/83100938/Conditional%20formatting.png?version=1&modificationDate=1641987630000&api=v2&effects=border-simple,shadow-kn)

comments: author: Stiltsoft support
body: **An update:** please check out two additions to our spreadsheet family - [Spreadsheet from Table](https://docs.stiltsoft.com/tfac/cloud/spreadsheet-from-table-152142229.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) and [Table Spreadsheet Include](https://docs.stiltsoft.com/tfac/cloud/table-spreadsheet-include-129895787.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macros.

The first one turns manually created and macro generated (Jira Issues, Page Properties Report) tables into fully functional Excel-like spreadsheet. The second one - helps to reuse parts of your sheets across your Confluence instance.

Hope you may find it useful.


author: Tim Oldendorf
body: This might work for you

[https://marketplace.atlassian.com/apps/1218080/xtables?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1218080/xtables?hosting=server&tab=overview)


author: infotech
body: okay. Is any free addon there?


author: Andrey Khaneev _StiltSoft_
body: Hello Sudheer,

Yes it is possible with the help of add-ons. [Table Filter](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) macro provides you with an ability to [calculate sum for rows and columns](https://docs.stiltsoft.com/display/TableFilter/Managing+Look+of+the+Table+and+Filtration+Pane#ManagingLookoftheTableandFiltrationPane-OutputtingtheTotalcolumn), also there is a [Pivot Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro) macro for calculating sum against some unique values in the table.


author: Andrey Khaneev _StiltSoft_
body: Yes, you can create your own user macro or write javascript and add it to the page using HTML macro.


author: infotech
body: Hi Andrey,

Thank you.. Is it possible with out the help of add-ons.


author: Lava Kumar Dukanam _Appfire_
body: Hi there,

There are a couple of solutions here in the following discussions.

<https://community.atlassian.com/t5/Answers-Developer-Questions/Calculation-in-tables/qaq-p/570820>

<https://community.atlassian.com/t5/Confluence-questions/Is-it-possible-to-perform-sum-calculation-in-a-confluence-table/qaq-p/189923>

Hope it helps!

Thanks,

Lava


author: infotech
body: Is it possible through help of the any code(like scripting)


author: Andrey Khaneev _StiltSoft_
body: Unfortunately, there is no such built-in tool in Confluence.


Tags: filter

table

table-filter

table-filter-and-charts

table-filter-charts-spreadsheets

table-spreadsheet