Flipping Data In Excel

dustin_payne

New Member
Joined
Feb 27, 2004
Messages
4
Hi, is there a way in Excel to flip the data that is in a column. I dont want it sorted accending or decending, just flipped.


for example:

12
43
9

to

9
43
12

Thanks,


Dustin
 
I'd just add a column and fill numbers 1 through 1000 (whatever) alongside your data. Then sort by the numbers I added. That would flip your data range and leave it in the order it's in.
 
Upvote 0
Your original list in column A, in column B put:

=INDEX(A:A,COUNTA(A:A)+1-ROW())
Flipping or Reverse data in a column.xls
ABCD
1123
2341
31024
42410
5134
6312
7
Sheet1


or, you could use offset:
Flipping Order of Range without sorting.xls
ABCDEF
1
2
3100110=OFFSET($A$3,13-ROW(),0)
4200450
5300600
650500
770400
86060
940070
1050050
11600300
12450200
13110100
14
Sheet1


HTH

Mike
 
Upvote 0
Hi

Or a macro. Highlight the range and run

Sub aaa()
Dim arr As Variant
arr = Selection.Value

Selection.Resize(1, 1).Select
For i = UBound(arr) To LBound(arr) Step -1
ActiveCell.Value = arr(i, 1)
ActiveCell.Offset(1, 0).Select
Next
End Sub

Will overtype existing values in place

Tony
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top