Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
Heads up: Excel and Google Sheets do this differently.
=INDEX($A$2:$A$6,ROWS($A$2:$A$6)+ROW($A$2)-ROW())=SORT(A2:A6,ROW(A2:A6),FALSE)Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need the Google Sheets version instead? Open Sheets variant in workspace →
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
Extend both the source range and the output range in the formula — the INDEX version adjusts as long as you update the range references.
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()).
Combine two columns into one with the & operator — perfect for joining first and last names into a full name.
How-toAutomatically generate sequential invoice numbers with a prefix and zero-padded counter using TEXT and ROW in Excel and Google Sheets.
How-toAssign sequential row numbers that restart for each group using COUNTIF with a mixed reference in Excel and Google Sheets.
How-toDelete empty rows quickly by filtering for blanks and deleting visible rows, or use Go To Special in Excel for a one-click approach.
How-toFlip rows and columns using the TRANSPOSE function or Paste Special to convert horizontal data to vertical and vice versa.
How-toMerge values from several columns into one cell using the ampersand operator or CONCAT/TEXTJOIN for delimited output.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: