Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Transposing multiple columns to rows

I have a tranpose issue.

Current Data Display:
100 101
200 201
300 301

Needs to be displayed:
100 101 200 201 300 301

Marcus
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Transposing multiple columns to rows

Assume data as posted is in A2:B2 down
Place this in C1:
=OFFSET($A$2,INT((COLUMNS($A:A)-1)/2),MOD(COLUMNS($A:A)-1,2))
Copy across as far as required
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,700 Files:359 Subscribers:55
xdemechanik
---
"Pittman" wrote:
I have a tranpose issue.

Current Data Display:
100 101
200 201
300 301

Needs to be displayed:
100 101 200 201 300 301

Marcus

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Transposing multiple columns to rows

Thanks Max that solved the problem. I am transposing this data from one file
to another how do I copy and paste this data and formula to a different file?
--
Marcus


"Max" wrote:

Assume data as posted is in A2:B2 down
Place this in C1:
=OFFSET($A$2,INT((COLUMNS($A:A)-1)/2),MOD(COLUMNS($A:A)-1,2))
Copy across as far as required
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,700 Files:359 Subscribers:55
xdemechanik
---
"Pittman" wrote:
I have a tranpose issue.

Current Data Display:
100 101
200 201
300 301

Needs to be displayed:
100 101 200 201 300 301

Marcus

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Transposing multiple columns to rows

Easy to adapt

If the source data earlier is in Sheet1, in A2:B2 down

Then in another sheet in the same book, say in Sheet2,
you could place this in any starting cell, say in B2:
=OFFSET(Sheet1!$A$2,INT((COLUMNS($A:A)-1)/2),MOD(COLUMNS($A:A)-1,2))
Copy B2 across as required

The only change required is to the source anchor cell, ie: Sheet1!$A$2

And if its to Sheet1 in Book2.xls
(this Book.xls must be open simultaneously)
then the expression in the start cell would look like:
=OFFSET([Book2]Sheet1!$A$2,INT((COLUMNS($A:A)-1)/2),MOD(COLUMNS($A:A)-1,2))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,800 Files:359 Subscribers:54
xdemechanik
---
"Pittman" wrote:
Thanks Max that solved the problem. I am transposing this data from one file
to another how do I copy and paste this data and formula to a different file?
--
Marcus


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Transposing multiple columns to rows

Thanks Max, This was very helpful.
--
Marcus


"Max" wrote:

Easy to adapt

If the source data earlier is in Sheet1, in A2:B2 down

Then in another sheet in the same book, say in Sheet2,
you could place this in any starting cell, say in B2:
=OFFSET(Sheet1!$A$2,INT((COLUMNS($A:A)-1)/2),MOD(COLUMNS($A:A)-1,2))
Copy B2 across as required

The only change required is to the source anchor cell, ie: Sheet1!$A$2

And if its to Sheet1 in Book2.xls
(this Book.xls must be open simultaneously)
then the expression in the start cell would look like:
=OFFSET([Book2]Sheet1!$A$2,INT((COLUMNS($A:A)-1)/2),MOD(COLUMNS($A:A)-1,2))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,800 Files:359 Subscribers:54
xdemechanik
---
"Pittman" wrote:
Thanks Max that solved the problem. I am transposing this data from one file
to another how do I copy and paste this data and formula to a different file?
--
Marcus




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Transposing multiple columns to rows

My pleasure`, Marcus.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,800 Files:359 Subscribers:55
xdemechanik
---
"Pittman" wrote in message
...
Thanks Max, This was very helpful.
--
Marcus



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transposing rows into columns RobM New Users to Excel 2 July 21st 08 06:35 PM
Transposing columns to rows MosheMo Excel Discussion (Misc queries) 3 March 31st 08 02:00 AM
Pasting /transposing from rows to columns. [email protected] Excel Discussion (Misc queries) 1 February 14th 08 07:40 PM
Transposing Rows and Columns Using Paste Special TLW Excel Discussion (Misc queries) 1 October 11th 07 04:41 PM
Transposing Repeat Rows Into Consolidated Columns Rich F Excel Discussion (Misc queries) 7 August 18th 06 08:38 PM


All times are GMT +1. The time now is 03:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"