1. Home
  2. Guides
  3. Excel
  4. How to reverse the order of rows in Excel
Excel

How to reverse the order of rows in Excel

Flip a list upside down in Excel by adding a numbered helper column and sorting it from largest to smallest, so the newest row ends up at the bottom and you can keep adding data below.

  • By Nur Islam
  • 0:57 video
  • 3 steps
  • 93.5K views
Jump to a step (3)
Who this is for

Reports and exports often list the newest month first. If you want to add each new month at the bottom, you need the whole table flipped, and cutting and pasting rows one at a time is slow and error-prone.

Excel has no single reverse button, but a helper column does the job. Number the rows 1, 2, 3 and so on, then sort that column in descending order and every row flips.

What you need

  • Microsoft Excel (desktop or Excel for the web)
  • A table or range of data with no blank rows

Step by step

0 of 3 done
  1. 01

    Add a helper column

    Next to your data, add a new column and name it Reverse. In the video the data has Month, Year and Visitors columns running from January 2024 back to November 2022.

  2. 02

    Number every row

    Fill the helper column with 1, 2, 3 and so on down to the last row. With 15 data rows, fill 1 to 15. Type the first two numbers and drag the fill handle down to fill the rest quickly.

  3. 03

    Sort the helper column from largest to smallest

    Select a cell in the Reverse column and sort it Largest to Smallest (descending). Excel sorts the whole table by that column, so the rows flip and January 2024 ends up at the bottom. You can now add February 2024 below it. Delete the helper column afterwards if you do not need it.

Tips and common problems

  • Make sure the sort includes all your columns. If Excel asks, choose Expand the selection so the rows stay together.
  • Remove any blank rows first, or Excel may only sort part of the data.
Still stuck? Ask AI to help you fix itChatGPTClaudeGeminiCopilotPerplexityGrok

Questions

How do I reverse the order of rows in Excel?

Add a helper column numbered 1 to N next to your data, then sort that column Largest to Smallest. The whole table flips.

Is there a formula to reverse a list in Excel?

In Excel for Microsoft 365, =SORTBY(A2:C16,ROW(A2:C16),-1) returns the range in reverse order without changing the original data.

Ask a question in the comments Last checked 26 Sep 2026. Screens change: if a step looks different, tell me in the comments.