Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 84
Default Transposing *lots* of rows

I have about 50K entries in one row that need to go from vertical to
horizontal. Each is a name, address, etc., so when I get done it should be
about 10K entries. Right now it looks like this:

Name
Address
City, ST Zip
Phone

And what I'm wanting is Name | Address | City | ST | Zip | Phone

I know I can do each row separately (copy / paste special / transpose), is
there a faster way to execute it in bulk? Thx!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Transposing *lots* of rows

Do it in two steps. Say your data in column A looks like:

John Smith
123 Maple Ave.
Springfield, NJ 081234
123-456-7890
Jane Doe
100 Center Street
Milton, DE 0123456
234-123-0987

In B1 enter:

=INDIRECT("A" & ROWS($A$1:A1)*4-4+COLUMNS($A$1:A1))

The copy B1 to B1 thru E100 or even further. You will see:

John Smith 123 Maple Ave. Springfield, NJ 081234 123-456-7890
Jane Doe 100 Center Street Milton, DE 0123456 234-123-0987

Each 4 elements have been moved to a row. The next step is to take column D
and split it up.
--
Gary''s Student - gsnu200778


"smartgal" wrote:

I have about 50K entries in one row that need to go from vertical to
horizontal. Each is a name, address, etc., so when I get done it should be
about 10K entries. Right now it looks like this:

Name
Address
City, ST Zip
Phone

And what I'm wanting is Name | Address | City | ST | Zip | Phone

I know I can do each row separately (copy / paste special / transpose), is
there a faster way to execute it in bulk? Thx!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 84
Default Transposing *lots* of rows

This is pulling everything up four rows but it's not making the
transposition. Here are my first 8 rows of data:

A069 A & A OPERATING INC.
NO CONTACT GIVEN
RT. 3, BOX 222
LAFAYETTE, LA 70506-0000
(318)261-0295 ()
0011 A & B OIL COMPANY
BETTY MICHNA
27125 ORTH LANE
CONROE, TX 77385-0000
(318)375-5132 ()

When I put the formula in B1, here's what my A and B columns look like now:

A069 A & A OPERATING INC. A069 A & A OPERATING INC.
NO CONTACT GIVEN (318)261-0295 ()
RT. 3, BOX 222 CONROE, TX 77385-0000
LAFAYETTE, LA 70506-0000 NO ADDRESS ON RECORD.
(318)261-0295 () CARL NOLAN
0011 A & B OIL COMPANY 0018 A & E OIL, INC.
BETTY MICHNA NO PHONE GIVEN
27125 ORTH LANE SHREVEPORT, LA 71106-0000
CONROE, TX 77385-0000 NO ADDRESS ON RECORD.
(318)375-5132 () JOHN DUFFELL
0008 A & B PARTNERSHIP 5149 A & J ROBERTSON

As you can see, it pulled the phone number from Col A to Col B but didn't
put it on row 1. I'm using 2003 SP3, might that make a difference?

Thanks so much for your help.

mm


"Gary''s Student" wrote:

Do it in two steps. Say your data in column A looks like:

John Smith
123 Maple Ave.
Springfield, NJ 081234
123-456-7890
Jane Doe
100 Center Street
Milton, DE 0123456
234-123-0987

In B1 enter:

=INDIRECT("A" & ROWS($A$1:A1)*4-4+COLUMNS($A$1:A1))

The copy B1 to B1 thru E100 or even further. You will see:

John Smith 123 Maple Ave. Springfield, NJ 081234 123-456-7890
Jane Doe 100 Center Street Milton, DE 0123456 234-123-0987

Each 4 elements have been moved to a row. The next step is to take column D
and split it up.
--
Gary''s Student - gsnu200778


"smartgal" wrote:

I have about 50K entries in one row that need to go from vertical to
horizontal. Each is a name, address, etc., so when I get done it should be
about 10K entries. Right now it looks like this:

Name
Address
City, ST Zip
Phone

And what I'm wanting is Name | Address | City | ST | Zip | Phone

I know I can do each row separately (copy / paste special / transpose), is
there a faster way to execute it in bulk? Thx!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Transposing *lots* of rows

Your recent post shows 10(not 8) rows of data, 5 cells per set.

Change the formula to =INDIRECT("A" & ROWS($A$1:A1)*5-5+COLUMNS($A$1:A1))

Enter the formula in B1 and copy across to F1(looks like you did not do this
originally)

Select B1:F1 and copy down untill you see zeros.

Select all and copy then paste specialvaluesokesc.

Then follow GS's instructions about text to columns on E.

Insert a column to the right of E before splitting.


Gord Dibben MS Excel MVP

On Wed, 9 Apr 2008 16:40:00 -0700, smartgal
wrote:

This is pulling everything up four rows but it's not making the
transposition. Here are my first 8 rows of data:

A069 A & A OPERATING INC.
NO CONTACT GIVEN
RT. 3, BOX 222
LAFAYETTE, LA 70506-0000
(318)261-0295 ()
0011 A & B OIL COMPANY
BETTY MICHNA
27125 ORTH LANE
CONROE, TX 77385-0000
(318)375-5132 ()

When I put the formula in B1, here's what my A and B columns look like now:

A069 A & A OPERATING INC. A069 A & A OPERATING INC.
NO CONTACT GIVEN (318)261-0295 ()
RT. 3, BOX 222 CONROE, TX 77385-0000
LAFAYETTE, LA 70506-0000 NO ADDRESS ON RECORD.
(318)261-0295 () CARL NOLAN
0011 A & B OIL COMPANY 0018 A & E OIL, INC.
BETTY MICHNA NO PHONE GIVEN
27125 ORTH LANE SHREVEPORT, LA 71106-0000
CONROE, TX 77385-0000 NO ADDRESS ON RECORD.
(318)375-5132 () JOHN DUFFELL
0008 A & B PARTNERSHIP 5149 A & J ROBERTSON

As you can see, it pulled the phone number from Col A to Col B but didn't
put it on row 1. I'm using 2003 SP3, might that make a difference?

Thanks so much for your help.

mm


"Gary''s Student" wrote:

Do it in two steps. Say your data in column A looks like:

John Smith
123 Maple Ave.
Springfield, NJ 081234
123-456-7890
Jane Doe
100 Center Street
Milton, DE 0123456
234-123-0987

In B1 enter:

=INDIRECT("A" & ROWS($A$1:A1)*4-4+COLUMNS($A$1:A1))

The copy B1 to B1 thru E100 or even further. You will see:

John Smith 123 Maple Ave. Springfield, NJ 081234 123-456-7890
Jane Doe 100 Center Street Milton, DE 0123456 234-123-0987

Each 4 elements have been moved to a row. The next step is to take column D
and split it up.
--
Gary''s Student - gsnu200778


"smartgal" wrote:

I have about 50K entries in one row that need to go from vertical to
horizontal. Each is a name, address, etc., so when I get done it should be
about 10K entries. Right now it looks like this:

Name
Address
City, ST Zip
Phone

And what I'm wanting is Name | Address | City | ST | Zip | Phone

I know I can do each row separately (copy / paste special / transpose), is
there a faster way to execute it in bulk? Thx!


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 84
Default Transposing *lots* of rows

PERFECTION!! Thanks *so* much!

"Gord Dibben" wrote:

Your recent post shows 10(not 8) rows of data, 5 cells per set.

Change the formula to =INDIRECT("A" & ROWS($A$1:A1)*5-5+COLUMNS($A$1:A1))

Enter the formula in B1 and copy across to F1(looks like you did not do this
originally)

Select B1:F1 and copy down untill you see zeros.

Select all and copy then paste specialvaluesokesc.

Then follow GS's instructions about text to columns on E.

Insert a column to the right of E before splitting.


Gord Dibben MS Excel MVP

On Wed, 9 Apr 2008 16:40:00 -0700, smartgal
wrote:

This is pulling everything up four rows but it's not making the
transposition. Here are my first 8 rows of data:

A069 A & A OPERATING INC.
NO CONTACT GIVEN
RT. 3, BOX 222
LAFAYETTE, LA 70506-0000
(318)261-0295 ()
0011 A & B OIL COMPANY
BETTY MICHNA
27125 ORTH LANE
CONROE, TX 77385-0000
(318)375-5132 ()

When I put the formula in B1, here's what my A and B columns look like now:

A069 A & A OPERATING INC. A069 A & A OPERATING INC.
NO CONTACT GIVEN (318)261-0295 ()
RT. 3, BOX 222 CONROE, TX 77385-0000
LAFAYETTE, LA 70506-0000 NO ADDRESS ON RECORD.
(318)261-0295 () CARL NOLAN
0011 A & B OIL COMPANY 0018 A & E OIL, INC.
BETTY MICHNA NO PHONE GIVEN
27125 ORTH LANE SHREVEPORT, LA 71106-0000
CONROE, TX 77385-0000 NO ADDRESS ON RECORD.
(318)375-5132 () JOHN DUFFELL
0008 A & B PARTNERSHIP 5149 A & J ROBERTSON

As you can see, it pulled the phone number from Col A to Col B but didn't
put it on row 1. I'm using 2003 SP3, might that make a difference?

Thanks so much for your help.

mm


"Gary''s Student" wrote:

Do it in two steps. Say your data in column A looks like:

John Smith
123 Maple Ave.
Springfield, NJ 081234
123-456-7890
Jane Doe
100 Center Street
Milton, DE 0123456
234-123-0987

In B1 enter:

=INDIRECT("A" & ROWS($A$1:A1)*4-4+COLUMNS($A$1:A1))

The copy B1 to B1 thru E100 or even further. You will see:

John Smith 123 Maple Ave. Springfield, NJ 081234 123-456-7890
Jane Doe 100 Center Street Milton, DE 0123456 234-123-0987

Each 4 elements have been moved to a row. The next step is to take column D
and split it up.
--
Gary''s Student - gsnu200778


"smartgal" wrote:

I have about 50K entries in one row that need to go from vertical to
horizontal. Each is a name, address, etc., so when I get done it should be
about 10K entries. Right now it looks like this:

Name
Address
City, ST Zip
Phone

And what I'm wanting is Name | Address | City | ST | Zip | Phone

I know I can do each row separately (copy / paste special / transpose), is
there a faster way to execute it in bulk? Thx!





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Transposing *lots* of rows

thanks!
--
Gary''s Student - gsnu200778


"Gord Dibben" wrote:

Your recent post shows 10(not 8) rows of data, 5 cells per set.

Change the formula to =INDIRECT("A" & ROWS($A$1:A1)*5-5+COLUMNS($A$1:A1))

Enter the formula in B1 and copy across to F1(looks like you did not do this
originally)

Select B1:F1 and copy down untill you see zeros.

Select all and copy then paste specialvaluesokesc.

Then follow GS's instructions about text to columns on E.

Insert a column to the right of E before splitting.


Gord Dibben MS Excel MVP

On Wed, 9 Apr 2008 16:40:00 -0700, smartgal
wrote:

This is pulling everything up four rows but it's not making the
transposition. Here are my first 8 rows of data:

A069 A & A OPERATING INC.
NO CONTACT GIVEN
RT. 3, BOX 222
LAFAYETTE, LA 70506-0000
(318)261-0295 ()
0011 A & B OIL COMPANY
BETTY MICHNA
27125 ORTH LANE
CONROE, TX 77385-0000
(318)375-5132 ()

When I put the formula in B1, here's what my A and B columns look like now:

A069 A & A OPERATING INC. A069 A & A OPERATING INC.
NO CONTACT GIVEN (318)261-0295 ()
RT. 3, BOX 222 CONROE, TX 77385-0000
LAFAYETTE, LA 70506-0000 NO ADDRESS ON RECORD.
(318)261-0295 () CARL NOLAN
0011 A & B OIL COMPANY 0018 A & E OIL, INC.
BETTY MICHNA NO PHONE GIVEN
27125 ORTH LANE SHREVEPORT, LA 71106-0000
CONROE, TX 77385-0000 NO ADDRESS ON RECORD.
(318)375-5132 () JOHN DUFFELL
0008 A & B PARTNERSHIP 5149 A & J ROBERTSON

As you can see, it pulled the phone number from Col A to Col B but didn't
put it on row 1. I'm using 2003 SP3, might that make a difference?

Thanks so much for your help.

mm


"Gary''s Student" wrote:

Do it in two steps. Say your data in column A looks like:

John Smith
123 Maple Ave.
Springfield, NJ 081234
123-456-7890
Jane Doe
100 Center Street
Milton, DE 0123456
234-123-0987

In B1 enter:

=INDIRECT("A" & ROWS($A$1:A1)*4-4+COLUMNS($A$1:A1))

The copy B1 to B1 thru E100 or even further. You will see:

John Smith 123 Maple Ave. Springfield, NJ 081234 123-456-7890
Jane Doe 100 Center Street Milton, DE 0123456 234-123-0987

Each 4 elements have been moved to a row. The next step is to take column D
and split it up.
--
Gary''s Student - gsnu200778


"smartgal" wrote:

I have about 50K entries in one row that need to go from vertical to
horizontal. Each is a name, address, etc., so when I get done it should be
about 10K entries. Right now it looks like this:

Name
Address
City, ST Zip
Phone

And what I'm wanting is Name | Address | City | ST | Zip | Phone

I know I can do each row separately (copy / paste special / transpose), is
there a faster way to execute it in bulk? Thx!



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 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 a column to several rows [email protected] Excel Discussion (Misc queries) 4 May 26th 05 09:06 PM
Transposing a column to several rows [email protected] Excel Worksheet Functions 4 May 26th 05 09:06 PM
hOW TO DELETE THE - IN (23-HFV51), I HAVE LOTS OF ROWS WITH DATA. KimSingh Excel Discussion (Misc queries) 2 March 21st 05 07:04 PM


All times are GMT +1. The time now is 12:22 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"