Update Table automatically when Excel is updated
Asked by Francis Atienza:

Hi all,

I am looking for a plug-in or any kind of solution that will help me accomplish this: I have several confluences pages. One is an overview page with a table containing details such as item name, date created, etc. The names link to another page with an embedded excel sheet which contains more specific details about that item.

I want the overview table to automatically reflect some columns from the embedded excel page. For example, when I change the date created on the excel page of an item, I want the date created under that item to say the same in the overview table.

Is there a plug-in that will help me do this? I will also take alternative solutions.


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hi Francis,

I think it is possible to do with the help of [Table Filter and Charts](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app:

1. [Table Excerpt and Table Excerpt Include](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros) macros can include the [Office Excel](https://confluence.atlassian.com/doc/office-excel-macro-375849173.html) macro from those pages.
2. [Table Transformer](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Table+Transformer+macro) macro can [lookup tables](https://docs.stiltsoft.com/display/TableFilter/Default+automatic+presets#Defaultautomaticpresets-Lookuptablespreset) and extend the overview table with data from included Office Excel macro.

I can describe those steps in more details if you tell more about your case.

comments: author: Francis Atienza
body: Hi Andrey,

Thanks for the answer. I will look into those things you mentioned. For my case, we have a page that has a table of projects. Here is a sketch of the table that is similar to what I am working on:

![table.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/54399iB97FB584E8C94020/image-dimensions/337x124?v=v2 "table.PNG")

Project A, Project B, etc are hyperlinks that leads to another page that contains an embedded excel that goes into more detail about that particular project. Here is a sketch of that excel sheet:

![project details.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/54400i8F85639CE491483E/image-dimensions/435x95?v=v2 "project details.PNG")

What I'm trying to do is capture some cells of this embedded excel and reflect it to one of cells from the table of projects. For example, lets assume that the excel sheet above is for project A. I want to capture Actual Start Date of Req and output it to Req Date in the first table. If I change that date on the excel sheet, I want the first table to automatically update the new information.

Ignore the discrepancy on the test and dev being empty in the excel project details and the table having dates for it. I was just trying to make a quick sketch.


author: Andrey Khaneev _StiltSoft_
body: Here is what I got.

Pages with Excel files:

![2019-05-14_14h58_18.png](https://community.atlassian.com/t5/image/serverpage/image-id/54476i6B03E4520CBCB608/image-size/large?v=v2&px=999 "2019-05-14_14h58_18.png")![2019-05-14_14h58_27.png](https://community.atlassian.com/t5/image/serverpage/image-id/54477iF247F267608DE908/image-size/large?v=v2&px=999 "2019-05-14_14h58_27.png")

The report page:

![2019-05-14_15h03_16.png](https://community.atlassian.com/t5/image/serverpage/image-id/54478i53BF095C3E0CFFBA/image-size/large?v=v2&px=999 "2019-05-14_15h03_16.png")

![2019-05-14_15h04_18.png](https://community.atlassian.com/t5/image/serverpage/image-id/54480i74D09EE6E33AB7FF/image-size/large?v=v2&px=999 "2019-05-14_15h04_18.png")![2019-05-14_15h05_46.png](https://community.atlassian.com/t5/image/serverpage/image-id/54481iBF7E6F9638FA0C09/image-size/large?v=v2&px=999 "2019-05-14_15h05_46.png")Inner Table Transformer:

![2019-05-14_15h06_57.png](https://community.atlassian.com/t5/image/serverpage/image-id/54482i840EBAC9840620EA/image-size/large?v=v2&px=999 "2019-05-14_15h06_57.png")![2019-05-14_15h09_04.png](https://community.atlassian.com/t5/image/serverpage/image-id/54483i745AC03D62C20120/image-size/large?v=v2&px=999 "2019-05-14_15h09_04.png")

Outer Table Transformer

![2019-05-14_15h10_08.png](https://community.atlassian.com/t5/image/serverpage/image-id/54484iFC114AF88AB32246/image-size/large?v=v2&px=999 "2019-05-14_15h10_08.png")

```
SELECT 'Title' AS 'Project', 
FIRST('Creator') AS 'Creator',
ARRAY(T2.'Actual Start Date')->0 AS 'Test Date',
ARRAY(T2.'Actual Start Date')->1 AS 'Dev Date',
ARRAY(T2.'Actual Start Date')->2 AS 'Req Date'
FROM T1 LEFT JOIN T2 ON T1.'Title' = T2.'Project' GROUP BY 'Title'
```


author: Katerina Kovriga {Stiltsoft}
body: Hi [@Francis Atienza](/t5/user/viewprofilepage/user-id/2363090) , here is our latest update for the [Table Excerpt/Table Excerpt Include](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros) macros: now you can show page titles of included tables automatically. Just tick the **Show page titles of included tables** field and you'll see the links to the pages with Excerpt macros:

![Mon 2-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/127815i5D2F6B1C756E79F5/image-size/large?v=v2&px=999 "Mon 2-1.png")