Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Display dynamic formulas from excel sheet

AME
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 18, 2020

I am looking display multiple time zones on my teams home page. However since I do not have access to develop user macros (company restrictions), I tried displaying time zones using formulas from an Excel doc through an Excel Macro. 

The problem is that these formulas do not update. They remain static even as the page refreshes.

Is is possible to display dynamic excel formulas with the out of the box Confluence Excel Macro?

Capture.JPG

1 answer

2 votes
Katerina Kovriga _Stiltsoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 19, 2020

Hi @AME ,

As usual standard Confluence macros work with static content (except such macros as Jira Issues and Page Properties Report macro).

So try to use additional plugins, for example, the Table Filter and Charts for Confluence app and its Table from CSV macro that can output data from Google Sheets/Google Drive, and all the changes will be reflected immediately.

Besides with the help of the same app and its Table Transformer macro you will be able to count and display your time zones right in Confluence:

Thu 1-4.pngType in the following custom SQL query:

SELECT *,
FORMATDATE(DATEADD(hour, T1.'GMT' + ("today"::Date->getTimezoneOffset() / 60), NOW())) AS 'Time'
FROM T1

Thu 1-1.pngAnd set the corresponding Date format (hh:mm):

Thu 1-2.pngAs a result you'll get the following table that is always up-to-date:

Thu 1-3.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events