Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
dr dr is offline
external usenet poster
 
Posts: 29
Default Excel columns to row

I have a spreadsheet with data arranged like:
Case ID+ Priority* Type* Item* Group+ Create Date

It is 75 Rows long.

I need to convert the data to look like the following:

Case ID+
Priority*
Type*
Item*
Group+
Create Date

Case ID+
Priority*
Type*
Item*
Group+
Create Date

Case ID+
Priority*
Type*
Item*
Group+
Create Date

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 913
Default Excel columns to row

On Sun, 7 Sep 2008 08:28:01 -0700, dr
wrote:

I have a spreadsheet with data arranged like:
Case ID+ Priority* Type* Item* Group+ Create Date

It is 75 Rows long.

I need to convert the data to look like the following:

Case ID+
Priority*
Type*
Item*
Group+
Create Date

Case ID+
Priority*
Type*
Item*
Group+
Create Date

Case ID+
Priority*
Type*
Item*
Group+
Create Date



Assuming your data is in columns A to F and on rows 1 to 75.
Try the following formula in cell G1:

=IF(MOD(ROW(),7)=0,"",INDEX($A$1:$F$75,1+INT(ROW()/7),MOD(ROW()-1,7)+1))

Copy down to row 525 (75*7)

Then copy column G and Paste Special (Values) it to column H
Finally delete columns A to G.

Hope this helps / Lars-Åke
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,124
Default Excel columns to row

Should be fairly quick. Takes col i:n and puts in col H. Just change to suit
making sure a clear column to the left.

Sub transposeblocks()
mc = 9 'column I
j = 1
lr = Cells(Rows.Count, mc).End(xlUp).Row
For i = 1 To lr
Cells(i, mc).Resize(, 6).Copy
Cells(j, mc - 1).PasteSpecial Paste:=xlPasteAll, Transpose:=True
j = j + 7
Next i
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"dr" wrote in message
...
I have a spreadsheet with data arranged like:
Case ID+ Priority* Type* Item* Group+ Create Date

It is 75 Rows long.

I need to convert the data to look like the following:

Case ID+
Priority*
Type*
Item*
Group+
Create Date

Case ID+
Priority*
Type*
Item*
Group+
Create Date

Case ID+
Priority*
Type*
Item*
Group+
Create Date


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,572
Default Excel columns to row

FWIW, IMHO,

You're not making a wise decision in revising your data to this type of
configuration!
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"dr" wrote in message
...
I have a spreadsheet with data arranged like:
Case ID+ Priority* Type* Item* Group+ Create Date

It is 75 Rows long.

I need to convert the data to look like the following:

Case ID+
Priority*
Type*
Item*
Group+
Create Date

Case ID+
Priority*
Type*
Item*
Group+
Create Date

Case ID+
Priority*
Type*
Item*
Group+
Create Date


  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,572
Default Excel columns to row

If printing labels in Word from data in XL ... still a bad idea!

BUT ... each to his own.<g
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Don Guillett" wrote in message
...

Unless for a label or ??

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Ragdyer" wrote in message
...
FWIW, IMHO,

You're not making a wise decision in revising your data to this type of
configuration!
--
Regards,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"dr" wrote in message
...
I have a spreadsheet with data arranged like:
Case ID+ Priority* Type* Item* Group+ Create Date

It is 75 Rows long.

I need to convert the data to look like the following:

Case ID+
Priority*
Type*
Item*
Group+
Create Date

Case ID+
Priority*
Type*
Item*
Group+
Create Date

Case ID+
Priority*
Type*
Item*
Group+
Create Date




  #8   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,572
Default Excel columns to row

YOU can die ... I DYE!<bg
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Don Guillett" wrote in message
...
"Ours not to reason why, ours to but do or die" <G

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Ragdyer" wrote in message
...
If printing labels in Word from data in XL ... still a bad idea!

BUT ... each to his own.<g
--
Regards,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"Don Guillett" wrote in message
...

Unless for a label or ??

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Ragdyer" wrote in message
...
FWIW, IMHO,

You're not making a wise decision in revising your data to this type

of
configuration!
--
Regards,

RD



-------------------------------------------------------------------------

-
-
Please keep all correspondence within the NewsGroup, so all may

benefit
!


-------------------------------------------------------------------------

-
-
"dr" wrote in message
...
I have a spreadsheet with data arranged like:
Case ID+ Priority* Type* Item* Group+ Create Date

It is 75 Rows long.

I need to convert the data to look like the following:

Case ID+
Priority*
Type*
Item*
Group+
Create Date

Case ID+
Priority*
Type*
Item*
Group+
Create Date

Case ID+
Priority*
Type*
Item*
Group+
Create Date






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
putting 2 long columns into multiple columns in excel page and sor bob_mhc Excel Discussion (Misc queries) 1 April 25th 08 07:51 AM
Excel 2003 - change columns to rows and rows to columns Trish Excel Discussion (Misc queries) 0 August 17th 07 02:22 AM
Excel 2003 - change columns to rows and rows to columns JLatham Excel Discussion (Misc queries) 0 August 17th 07 02:05 AM
"Text to Columns" for many columns in Excel 2003 NickName Excel Discussion (Misc queries) 12 September 8th 06 10:14 PM
unable to insert columns in excel, insert- columns (disabled) iam_leearner Excel Discussion (Misc queries) 1 August 13th 06 02:26 PM


All times are GMT +1. The time now is 07:52 PM.

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"