How to Reverse the Row Order in LibreOffice Calc [Quick Tips]

Spread the love

Let ‘s say that you are using LibreOffice Calc to open up a spreadsheet (or csv file) that your friend send to you, only to find that the rows are in the reverse order that you want them, i.e. the first row is at the last and the last is at the row. Assuming that the data is sorted in any order, how can you easily reverse the row order without having to manually copy/paste all the data to a new document?

This is easy. The following trick should work:

Note: This will also work in Ms Excel, OpenOffice and many other spreadsheet applications too.

1. Insert a new column at the extreme left (or right).

2. At the very first row, enter “1” (without the quote).

3. Using your mouse, drag the first cell (the one that you just inserted “1”) and pull it down all the way to the end of the document. You should see all the cells below it populated with corresponding digit.

4. Lastly, go to “Data -> Sort” on the menu bar. Under the “Sort Key 1” section, select the new column that you have created. Select “Descending” at the option beside it. Click OK.

Tada. You have successfully reversed the row order of your spreadsheet.

Additionally, you may want to remove the new number column and save the spreadsheet with the correct row order.

Let us know if this trick works for you, or if you have an easier way to reverse the row.

Also read: How to Add Your Own Custom Color in LibreOffice

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.
By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time. Subscribe


Damien Oh

Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.

Comments (3)