How To Flip Data Vertically In Excel (4 Quick Methods) - ExcelDemy
Maybe your like
Suppose you have the following dataset:

Method 1 – Combining INDEX and ROWS Functions to Flip Data Vertically in Excel
Steps:
- Make new columns for the newly flipped data.
- Type the following formula in the appropriate cell (E5 in this example):
=INDEX(B$5:B$10,ROWS(B5:B$10))

- Press ENTER.
The value from the bottom cell in the column should now show in the top cell.

- Use the AutoFill tool to copy the formula to the remaining cells in the column, and then again to the next column as well.


Method 2 – Applying Excel SORTBY and ROW Functions to Vertically Flip Data
Steps:
- Make new columns for the newly flipped data.
- Type the following formula in the appropriate cell (E5 in this example):
=SORTBY($B$5:$C$10,ROW(B5:B10),-1)

- Press ENTER.

Method 3 – Vertically Flipping Data in Excel with Sort Feature
Steps:
- Select the appropriate cell range (B5 to B10)
- Select Sort & Filter from the Home Ribbon, then choose Sort Largest to Smallest.

- A warning message will pop up.
- Select Expand the selection if appropriate and click on Sort.

The results should be properly flipped.

Method 4 – Using VBA to Flip Data Vertically in Excel
Steps:
- Go to the Developer Tab and select Visual Basic or press ALT+F11.

- The VBA editor will appear. Select Insert then Module to open a VBA Module.

- Type the following code in the VBA Module.

VBA Code Breakdown
- Name the Sub procedure (FlipDataVertically in this example).
- Define the variable types.
- Use the “On Error Resume Next” statement to ignore all the errors.
- Specify the working cell range using the InputBox method.
- For Next Loop is used to loop through the selected cell range.
- Run the code.
- Go back to the sheet and run the Macro.

- A message box will appear. Select the range to flip vertically.
- Click OK.

The results should be properly flipped.

Download Practice Workbook
Vertically Flip Data.xlsm
Related Articles
- How to Flip Data Horizontally in Excel
- How to Flip Table in Excel
- How to Flip Data in Excel Chart
- How to Mirror Data in Excel
- How to Reverse Text to Columns in Excel
- How to Reverse Column Order in Excel
- How to Reverse Data in Excel Chart
<< Go Back to Excel Reverse Order | Sort in Excel | Learn Excel
Get FREE Advanced Excel Exercises with Solutions!Tag » How To Flip Data In Excel
-
Transpose (rotate) Data From Rows To Columns Or Vice Versa
-
How To Flip Data In Excel Columns And Rows (vertically And Horizontally)
-
Flip Data In Excel | Reverse Order Of Data In Column/Row
-
How To Flip / Reverse A Column Of Data Order Vertically In Excel?
-
How To Flip Data In Excel (Columns, Rows, Tables)?
-
How To Reverse Or Flip Data In Excel - YouTube
-
3 Easy Ways To Flip Data In Excel (Reverse The Order In Columns ...
-
Reverse / Flip Data In Excel Columns Or Rows | 3 Solutions - YouTube
-
How To Flip The Order Of Data In An Excel Table
-
Excel Quick Tips: How To Flip Cells & Switch Rows Or Columns
-
How Do You Flip Data Horizontally In Excel? - Quora
-
3 Ways To Transpose Data Horizontally In Excel - MakeUseOf
-
How To Flip Data In Excel Upside Down
-
Flip Or Reverse Data In Excel - A Quick HowTo Guide!