FormulaCraft

How to reverse the order of a list in Excel and Google Sheets

Topic:Data cleaning & shaping

Heads up: Excel and Google Sheets do this differently.

Excel
=INDEX($A$2:$A$6,ROWS($A$2:$A$6)+ROW($A$2)-ROW())
Google Sheets
=SORT(A2:A6,ROW(A2:A6),FALSE)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Excel: In B2 enter =INDEX($A$2:$A$6,ROWS($A$2:$A$6)+ROW($A$2)-ROW()) and copy down — it picks from the bottom of the source range upward.
  2. 2Simpler Excel alternative: Add a helper column with =ROW() beside your list, then sort by that column descending and delete the helper.
  3. 3Google Sheets: Use =SORT(A2:A6,ROW(A2:A6),FALSE) — ROW() generates row numbers as the sort key and FALSE sorts descending, reversing the list.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

Does the formula approach update automatically if I add rows?

Extend both the source range and the output range in the formula — the INDEX version adjusts as long as you update the range references.

How do I reverse a row (horizontal) instead of a column?

Wrap in TRANSPOSE or swap ROW for COLUMN in the formula: =INDEX($A$1:$E$1,1,COLUMNS($A$1:$E$1)+COLUMN($A$1)-COLUMN()).

More on Data cleaning & shaping

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: