Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have data that looks like this:
123 456 789 avb yu3 111 I need to flip this arrangement so that I get: avb yu3 111 123 456 789 I might I programatically achieve this result Mary |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Aug 12, 4:35 pm, "
wrote: I have data that looks like this: 123 456 789 avb yu3 111 I need to flip this arrangement so that I get: avb yu3 111 123 456 789 I might I programatically achieve this result Mary That would depend. You can, of course, achieve the result programmatically. However through excel what you could do is 1. Add a new column and insert serial numbers 2. Sort the data range based on this column -- descending. You should have the flipped results |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can do this with keyboard and mouse. It's easier done than said:
1. Highlight one of the rows by clicking its row number. 2. Pass your mouse over the upper or lower border of the highlighted row until the cursor changes. It doesn't matter which border. 3. While pressing Shift, drag the border across the other row, just to the other side. 4. Release mouse button. 5. Release shift key. If your rows are always the same (here, row 10 and 11), a recorded macro will give you: Sub SwapRows() Rows("11:11").Select Selection.Cut Rows("10:10").Select Selection.Insert Shift:=xlDown End Sub If your rows are not always the same, highlight the upper row and run this macro: Sub SwapUpperRowWithLower() Selection.Cut ActiveCell.Offset(2, 0).Rows("1:1").EntireRow.Select Selection.Insert Shift:=xlDown End Sub Hope this helps, - David On Aug 12, 7:35 am, " wrote: I have data that looks like this: 123 456 789 avb yu3 111 I need to flip this arrangement so that I get: avb yu3 111 123 456 789 I might I programatically achieve this result Mary |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
columns to rows flip | Excel Discussion (Misc queries) | |||
Reverse a "row" of numbers (flip flop them)? | New Users to Excel | |||
Flip flopping columns and rows | Excel Discussion (Misc queries) | |||
How to flip the rows to column | Excel Discussion (Misc queries) | |||
I typed a column in reverse order, how do I flip it (upside down). | Charts and Charting in Excel |