Forums

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

Is there a way I can check if two cells are the same in a table on Confluence?

Ankit Patel
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!
August 23, 2023

Easy to do on Excel, but is there functionality available on Confluence to validate if two cells in a table are the same, and use conditional formatting to highlight differences etc?

My goal here, simply put is for one cell to have a live feed on a particular version of a database. Then, a second column that has the version I've actually tested for - and then a third column to show "green" that they both match. If, for example, the live version has updated, it'll be different to what i've manually put in for the version I have tested for...then it'll highlight the fact I need to retest.  Hope this makes sense?

1 answer

2 votes
Stiltsoft support
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.
August 24, 2023

Hi @Ankit Patel ,

We can suggest trying our app - Table Filter and Charts for Confluence.

Wrap your table in the Table Transformer macro and use the following SQL query:

Thu 2-1.png

SELECT *,
CASE WHEN 'Column 1' = 'Column 2'
THEN FORMATWIKI("{status:colour=Green|title=Green}")
ELSE
FORMATWIKI("{status:colour=Grey|title=None}")
END
AS 'Status'
FROM T*

Thu 2-2.png

You may also wrap the Table Transformer macro in the Table Filter macro and filter your result table by the new 'Status' column.

And if you prefer to work with Excel-like functionality, you may check the Table Spreadsheet macro that is also provided by the app.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events