Is there a way of sorting a table in edit mode in Confluence?
Asked by Andrew Hood:

I need to be able to sort tables in edit mode so that for large tables I can do reconciliation tasks. Anyone know if this is possible and how?


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

Yes, it is possible in Confluence Server: you need to wrap the table with [Table Filter](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) macro. Then the table can be sorted in the editor using Ctrl+Click.

comments: author: Deb
body: What is the option for Confluence Cloud? I have the Table Filter macro but this functionality is not available in Cloud yet. Preferably, would want to edit the filtered table in view mode but that option is also not available for Cloud.


author: Andrey Khaneev _StiltSoft_
body: Table Filter macro is available in Confluence Cloud, but it is not integrated with page editor, so there is no way to sort and filter table in edit mode.


author: Deb
body: Any plans to add it to Cloud soon?


author: Andrey Khaneev _StiltSoft_
body: Unfortunately, there are no technical possibilities to implement this feature in Cloud environment: it is just impossible to integrate with the editor there.


author: Deb
body: Sorry to hear that!! :(

Thanks so much for your quick responses!


author: Andrey Khaneev _StiltSoft_
body: You are welcome, Debora! I'll reply here if something changes in the future.


author: Don Hamp
body: From above it sounds like not possible to filter a table while in Edit mode. At Merck we have confluence internal (Not cloud?) (I believe) Since we call confluence as: [https://share.merck.com/Display](https://share.merck.com/)

Is there way to configure filter so it displays in Edit mode? This is key benefit over using Excel when (even) a medium # of rows need maintenance. Filtering and editing go hand in hand for most use cases.


author: Andrey Khaneev _StiltSoft_
body: Yes, it is possible to filter and sort tables in edit mode ([documentation](https://docs.stiltsoft.com/display/TableFilter/Filtering+Table+in+the+Page+Edit+Mode)).


author: George Parsons
body: Andrew,

So there is no way to achieve this functionality in the Cloud instance? I have a very large table and want to sort it during editing. I thought that your macro would achieve the functionality, however not in the Cloud.


author: George Parsons
body: Andrew,

I am trialing your macro and can't get it to sort columns in Edit mode. I wrap a table with Table Filter, then in Edit 'Table Filter' Macro menu I can sort any column, however when I save out of the Edit 'Table Filter' Macro menu the table reverts back to the unsorted state. Any ideas?


author: Andrey Khaneev _StiltSoft_
body: George,

Is the table sorted in the page view mode in this case? Sorting doesn't apply to tables in the page edit mode in Confluence Cloud.


author: David K
body: Not sure if this is your case. I wanted to have a table be sorted in Edit mode too after data was entered w/o any sorting.

* Sort the table in View mode;
* Select, copy the whole table;
* Switch to Edit Mode;
* Paste the table as a new one;
* Removed the unsorted table;


author: Wei Tang
body: Good and free solution!


author: ecoea
body: Filter in edit mode is a much needed use case. Imagine having a big table and you only need to edit one or a set of rows with some common attributes somewhere in the table, without the ability to filter during editing, it is necessary to

* Keep scrolling and scrolling until you find the row to edit!
* If the rows in the targeted edit set are scattered in different spots on the table, it becomes a nightmare.

My work around, for now, is always adding a numbered column to the table. Remembering the row number(s) you attempt to edit makes it a bit better in hunting for the row(s) in edit mode.


author: Robert.Lopinto
body: It's insane that this is not possible in Confluence Cloud. Before migrating from Confluence Data Center to Cloud we used this feature all the time. Tables can get huge and the inability to filter so that one can update only specific rows is the most common use case on the planet. How on Earth did this get deprecated? The Confluence Product Managers should be enraged!


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

As this Community thread concerns 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\&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: Ron Beernink
body: A shame that Atlassian do not have this basic functionality to sort and filter tables as part of their Confluence product. But good to see your solution. Just confirming though that this macro is in fact theTable Filter and Charts for Confluence app that can be licensed from Stillsoft through the Atlassian market place?


author: Katerina Kovriga {Stiltsoft}
body: Yes, this macro is provided by the Table Filter and Charts for Confluence app (that is our add-on).

The app is a paid one but it's free for Cloud 1-10 users.

If you already have the add-on and are on Server/Data Center but don't see the Table Spreadsheet macro, then ask your Confluence administrator to update the app. The macro was released in January and we still continue to add more and more features to it.


author: David Lange
body: How do we get Atlassian to make this work in the cloud


Tags: atl-gruland

filter

table

table-filter

table-filter-and-charts

table-filter-charts-spreadsheets

table-spreadsheet