Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Swapping rows of data to columns 2

Status
Not open for further replies.
Mar 6, 2003
157
JO
Is there any easyway to swap a number of rows of data to the same number of columns?

For example, I have 50 items of text in Column C starting on Row 44 and I would like to pivot these items so they appear on Row 44 across columns starting in Column C.

Did I just answer my own question by using pivot tables, or is there another way?

Thanks,
Shawn
 
Oh, and I need my resulting single row of data across the columns to appear in the exact order as they appeared in the rows down a single column.

Thanks,
Shawn
 
You may try something like this:
Range("C45:C93").Copy
Range("D44").PasteSpecial Paste:=xlAll, Operation:=xlNone, SkipBlanks:=False, Transpose:=True
Range("C45:C93").ClearContents

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
For a one time operation you have your answers, but if you needed a linked table of transposed values, then take a look at the TRANSPOSE() function.

Regards
Ken................

----------------------------------------------------------------------------
[peace]It's easier to beg forgiveness than ask permission[2thumbsup]

----------------------------------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top