# Reordering rows/columns in spreadsheet

**URL:** https://forum.collaboraonline.com/t/reordering-rows-columns-in-spreadsheet/2380
**Category:** Calc
**Created:** [February 12, 2024, 1:16am UTC](https://forum.collaboraonline.com/t/reordering-rows-columns-in-spreadsheet/2380 "2024-02-12T01:16:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![raxod502](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/raxod502/32/1038_2.png) [@raxod502](https://forum.collaboraonline.com/u/raxod502)
#### Post date: [February 12, 2024, 1:16am UTC](https://forum.collaboraonline.com/t/reordering-rows-columns-in-spreadsheet/2380/1 "2024-02-12T01:16:22Z")

</div>

This thread is for discussion about workflows for reordering rows and columns in Collabora spreadsheets, since it is currently more difficult to do it than in many other spreadsheet programs. For example, there is no way to drag-and-drop rows/columns, nor are there options for “move rows/columns in direction”.

GitHub thread [Use also Ctrl or Alt when dragging rows, columns, cells · Issue #8033 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/issues/8033) tracks the enhancement request for being able to reorder rows and columns by drag-and-drop. This forum discussion may be helpful for users who want to emulate such functionality, or discuss workarounds.

A very useful workaround was mentioned [Use also Ctrl or Alt when dragging rows, columns, cells · Issue #8033 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/issues/8033#issuecomment-1936949598:) copy the row(s)/column(s) to the clipboard, and then use the “paste special” feature, which has an option in the dialog box to shift rows/columns out of the way instead of overwriting them. This is still unwieldy but is a lot better than the alternatives that currently exist.

---

<div class="post-metadata">

### Author: ![raxod502](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/raxod502/32/1038_2.png) [@raxod502](https://forum.collaboraonline.com/u/raxod502)
#### Post date: [February 12, 2024, 1:17am UTC](https://forum.collaboraonline.com/t/reordering-rows-columns-in-spreadsheet/2380/2 "2024-02-12T01:17:14Z")

</div>

For anyone who is wondering about use cases, there are plenty… For example, I maintain a spreadsheet of recurring monthly expenses. I keep the rows in an order that makes sense to me for reviewing easily, which means sometimes they have to be reordered when expense categories are added, removed, or changed. It’s also popular to work on puzzle hunts ([Introduction to Puzzlehunts](https://blog.vero.site/post/puzzlehunts)) using spreadsheets, in which case it is very helpful to be able to quickly move data from one place to another within the spreadsheet, to see if it produces novel insights.

Sometimes one wants to keep rows in a mostly sorted order, and it is possible to work around the lack of easy reordering functionality by simply sorting repeatedly. It is less convenient than drag-and-drop when there is only one row that needs to be moved, and fails when there is not an existing column that one wants to strictly sort by.

---

<div class="post-metadata">

### Author: ![Tex](https://avatars.discourse-cdn.com/v4/letter/t/eb8c5e/32.png) [@Tex](https://forum.collaboraonline.com/u/Tex)
#### Post date: [February 28, 2024, 9:55pm UTC](https://forum.collaboraonline.com/t/reordering-rows-columns-in-spreadsheet/2380/3 "2024-02-28T21:55:29Z")

</div>

Hey @raxod502, thanks for posting this convo on the forums from the Github issue. 🙂

Being able to drag/drop rows/columns to move them is **known and is being worked on**.

When I brought your (Github) posts up to the Collabora devs, they instantly said:

- “Yep! It’s one of the most requested features.”

* * *

> [@raxod502](#):
>
> For anyone who is wondering about use cases, there are plenty… For example, I maintain a spreadsheet of recurring monthly expenses. I keep the rows in an order that makes sense to me for reviewing easily, which means sometimes they have to be reordered when expense categories are added, removed, or changed.

Another method is:

- Having your raw data on Sheet 1.
- Generate other “insights” on Sheet 2 + Sheet 3, etc.

So, you might have something like:

- Sheet 1 = Columns for all your expenses, categories, date of purchase, […].
- Sheet 2 = Broken down by month.
- Sheet 3 = Broken down by quarter.
- Sheet 4 = Broken down by categories.

This way, you wouldn’t have to go dragging/dropping your columns all the time, you’d already have “pre-built insights/charts” on your other sheets.

Or… like people always say. The solution to everything in spreadsheets?

- Pivot Tables!

> [@raxod502](#):
>
> It’s also popular to work on puzzle hunts ([Introduction to Puzzlehunts](https://blog.vero.site/post/puzzlehunts)) using spreadsheets, in which case it is very helpful to be able to quickly move data from one place to another within the spreadsheet, to see if it produces novel insights.

Interesting. Thanks for the links. I’ll definitely have to check it out.

Reminds me of Geocaching. I first found out about that in way back in 2009/2010:

- [The Totally Rad Show 119: “Liftupable - Transformers 2: Revenge of the Fallen, The Last Airbender trailer, Call of Juarez: Bound in Blood, Rocket Riot, and Geocaching”](https://archive.org/details/The_Totally_Rad_Show_119)
  - About 23 mins in is the “geocaching” part.

- [The Totally Rad Show 209: “Geocaching”](https://archive.org/details/The_Totally_Rad_Show_209)

* * *

**Side Note 1:** You may also be interested in this post I wrote a few days ago in:

- [/r/LibreOffice: “Good guides on making appealing Impress presentations?”](https://www.reddit.com/r/libreoffice/comments/1awif5b/good_guides_on_making_appealing_impress/kru91m3/)

I wrote a “On Spreadsheets / Data / Tables / Charts / Graphs” heading, where I also covered one of my favorite books ever:

- “The Visual Display of Quantitative Information” by Edward Tufte

In it, he describes how to more effectively/efficiently display data, and it includes “tricks” like:

- Swapping rows/columns
- Sorting largest-\>smallest
- Removing “Chart Junk”
  - Useless lines!

The amount of “hidden” data/insights that are already sitting there—and can be found just by MOVING SOME DATA NEAR EACH OTHER and displaying it a little differently—is awesome.

Previously hidden patterns just pop right out.

* * *

**Side Note 2:** Last year, I also explained a few other methods like “Spellcheck Lists”/“List-Based Spellchecking”:

- [/r/LibreOffice: “More aggressive AutoCorrect in LibreOffice Writer?”](https://www.reddit.com/r/libreoffice/comments/13p1b8y/more_aggressive_autocorrect_in_libreoffice_writer/jlhavcn/)
- [LibreOffice Conference 2023: “The 3 Layers of Typo Correction: AutoCorrect, Spellchecking, and Grammarchecking”](https://www.youtube.com/watch?v=CG8ydeHkH_s)

It lets you see all words in a book, in a fully sortable/searchable list:

| Word | Count |
| --- | --- |
| Apple | 10 |
| Apples | 2 |
| color | 9 |
| colour | 2 |
| erro | 1 |
| error | 10 |
| erros | 1 |
| español | 1 |
| tomorrow | 99 |
| to-morrow | 1 |

Check a box to “Only show misspelled words”:

| Word | Count |
| --- | --- |
| colour | 2 |
| erro | 1 |
| erros | 1 |
| español | 1 |

(or even a simple sort by word count.)

And poof!

Lets you quickly spot patterns/inconsistencies + mass correct entire books very quickly.
