Can I set reference between tables in Confluence?
Asked by Nishant Tekhre:

I have multiple teams and they feed their data in their team page's table. I wish to have a summary table in which I can fetch required data from multiple other tables. The way you do it in excel by putting an "=" in the cell and giving reference to the other cell.

Is this possible in Confluence?


Answers:
author: Stefan Eike
body: Yes. You need a few bucks to buy CustomWare Scaffolding and CustomWare Reporting.

comments: author: Nishant Tekhre
body: Thanks for the answer Stefan!

Is there no other option than buying the plugin? My requirement is just getting data from different tables into one. The tool offers many other functionalities that I will never really use.

Are there any default macors that I can use?

Thanks again for the help!


author: Andrey Khaneev _StiltSoft_
body: Hi Nishant,  

You can do it with the help of [Table Filter and Charts for Confluence.](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview)  
The [Table Excerpt (Include)](https://docs.stiltsoft.com/display/TFAC/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros), [Table Transformer](https://docs.stiltsoft.com/display/TFAC/How+to+use+Table+Transformer+macro) macros are appropriate for your use case.  

Here's an example of how to use them:  

First, you need to wrap all required teams' tables with the Table Excerpt macro.  
![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/96037iC380D88113C13437/image-size/large?v=v2&px=999 "image.png")![2.png](https://community.atlassian.com/t5/image/serverpage/image-id/96038i84084245F7285022/image-size/large?v=v2&px=999 "2.png")

<br />

<br />

Then add the Table Excerpt Include macro on a separate page with a summary table and configure it.

![3.png](https://community.atlassian.com/t5/image/serverpage/image-id/96039i6CB8FF73FFB1FEAD/image-size/large?v=v2&px=999 "3.png")![4.png](https://community.atlassian.com/t5/image/serverpage/image-id/96040i1B21700073F9F2FA/image-size/large?v=v2&px=999 "4.png")

Now wrap this Table Excerpt Include macro with Table Transformer and enter the following SQL query:

SELECT 'Project ID:','Project Status:' FROM T\*  
![5.png](https://community.atlassian.com/t5/image/serverpage/image-id/96041i4501D40DB8EF8F0F/image-size/large?v=v2&px=999 "5.png")![6.png](https://community.atlassian.com/t5/image/serverpage/image-id/96042i890170FC1D488113/image-size/large?v=v2&px=999 "6.png")

Finally, you need to wrap it all with one more Table Transformer and choose the 'Lookup tables' preset.  
![7.png](https://community.atlassian.com/t5/image/serverpage/image-id/96043i4BB229E2FBEEB2A3/image-size/large?v=v2&px=999 "7.png")![8.png](https://community.atlassian.com/t5/image/serverpage/image-id/96044iC91463F82F463323/image-size/large?v=v2&px=999 "8.png")

Result:  
![9.png](https://community.atlassian.com/t5/image/serverpage/image-id/96045i7C4CF66EF94836D4/image-size/large?v=v2&px=999 "9.png")  

<br />

Please use our [documentation](https://docs.stiltsoft.com/pages/releaseview.action?pageId=42239760) to get more info about our app.  


author: Katerina Rudkovskaya [Stiltsoft]
body: Hi Nishant,  

You can do it with the help of [Table Filter and Charts for Confluence.](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview)  
The [Table Excerpt (Include)](https://docs.stiltsoft.com/display/TFAC/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros), [Table Transformer](https://docs.stiltsoft.com/display/TFAC/How+to+use+Table+Transformer+macro) macros are appropriate for your use case.  

Here's an example on how to use them:  

First, you need to wrap all required teams' tables with the Table Excerpt macro.  

![Screenshot_1.png](https://community.atlassian.com/t5/image/serverpage/image-id/95978i4B8DE85C90F71B34/image-size/large?v=v2&px=999 "Screenshot_1.png")![Screenshot_2.png](https://community.atlassian.com/t5/image/serverpage/image-id/95979i15E965E78624C1E3/image-size/large?v=v2&px=999 "Screenshot_2.png")

Then add the Table Excerpt Include macro on a separate page with a summary table and configure it.  

![Screenshot_3.png](https://community.atlassian.com/t5/image/serverpage/image-id/95981iA2EBC7617E0DC246/image-size/large?v=v2&px=999 "Screenshot_3.png")![Screenshot_4.png](https://community.atlassian.com/t5/image/serverpage/image-id/95980iBF3D951C8564EDE7/image-size/large?v=v2&px=999 "Screenshot_4.png")

Now wrap this Table Excerpt Include macro with Table Transformer and enter the following SQL query:

SELECT 'Project ID:','Project Status:' FROM T\*  

![Screenshot_5.png](https://community.atlassian.com/t5/image/serverpage/image-id/95982i4F2955F27A1CA551/image-size/large?v=v2&px=999 "Screenshot_5.png")![Screenshot_6.png](https://community.atlassian.com/t5/image/serverpage/image-id/95983i9879EFBD5067AD55/image-size/large?v=v2&px=999 "Screenshot_6.png")

Finally, you need to wrap it all with one more Table Transformer and choose the 'Lookup tables' preset.  

![Screenshot_7.png](https://community.atlassian.com/t5/image/serverpage/image-id/95984i6624D1F7F257B843/image-size/large?v=v2&px=999 "Screenshot_7.png")![Screenshot_8.png](https://community.atlassian.com/t5/image/serverpage/image-id/95985i732E085EF3FC578B/image-size/large?v=v2&px=999 "Screenshot_8.png")

Result:  

![Screenshot_9.png](https://community.atlassian.com/t5/image/serverpage/image-id/95986iF16E9581AD222EA8/image-size/large?v=v2&px=999 "Screenshot_9.png")  

Please use our [documentation](https://docs.stiltsoft.com/pages/releaseview.action?pageId=42239760) to get more info about our app.  

Katerina  
StiltSoft


author: Katerina Rudkovskaya [Stiltsoft]
body: Hi Nishant,  

You can do it with the help of [Table Filter and Charts for Confluence.](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview)  
The [Table Excerpt (Include)](https://docs.stiltsoft.com/display/TFAC/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros), [Table Transformer](https://docs.stiltsoft.com/display/TFAC/How+to+use+Table+Transformer+macro) macros are appropriate for your use case.  

Here's an example on how to use them:  

First, you need to wrap all required teams' tables with the Table Excerpt macro.

![Screenshot_1.png](https://community.atlassian.com/t5/image/serverpage/image-id/95968i3ACDACA8E385DA5D/image-size/large?v=v2&px=999 "Screenshot_1.png")![Screenshot_2.png](https://community.atlassian.com/t5/image/serverpage/image-id/95969i47DBBFB14A18D363/image-size/large?v=v2&px=999 "Screenshot_2.png")

<br />

Then add the Table Excerpt Include macro on a separate page with a summary table and configure it.  

![Screenshot_3.png](https://community.atlassian.com/t5/image/serverpage/image-id/95971iBE42D0C18C4B14FD/image-size/large?v=v2&px=999 "Screenshot_3.png")![Screenshot_4.png](https://community.atlassian.com/t5/image/serverpage/image-id/95970i619D774FC47A784F/image-size/large?v=v2&px=999 "Screenshot_4.png")

Now wrap this Table Excerpt Include macro with Table Transformer and enter the following SQL query:

SELECT 'Project ID:','Project Status:' FROM T\*  

![Screenshot_5.png](https://community.atlassian.com/t5/image/serverpage/image-id/95972i842696B065B1DCDD/image-size/large?v=v2&px=999 "Screenshot_5.png")![Screenshot_6.png](https://community.atlassian.com/t5/image/serverpage/image-id/95973iFA20A31A65EE98C1/image-size/large?v=v2&px=999 "Screenshot_6.png")

Finally, you need to wrap it all with one more Table Transformer and choose the 'Lookup tables' preset.  

![Screenshot_7.png](https://community.atlassian.com/t5/image/serverpage/image-id/95974iF9FF1F8023EBA70B/image-size/large?v=v2&px=999 "Screenshot_7.png")![Screenshot_8.png](https://community.atlassian.com/t5/image/serverpage/image-id/95975i4494B93069BA290F/image-size/large?v=v2&px=999 "Screenshot_8.png")

Result:  

![Screenshot_9.png](https://community.atlassian.com/t5/image/serverpage/image-id/95976i9F2819FBBD4C64D2/image-size/large?v=v2&px=999 "Screenshot_9.png")  

Please use our [documentation](https://docs.stiltsoft.com/pages/releaseview.action?pageId=42239760) to get more info about our app.  

Katerina  
StiltSoft


author: CelesteCS
body: Hello, Nishant!

For any calculations in Confluence, including referencing table data, you may use [CelesteCS Math for Confluence](https://marketplace.atlassian.com/plugins/com.celestecs.confluence.celestecs-math). For referencing the cell on the table on another page, specify the page name in macro parameters and reference table cell like here:

```
Table1.A1
```

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

Thanks!