#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jg jg is offline
external usenet poster
 
Posts: 42
Default Transpose

I have worksheet like this:

A
B
C
A
B
C

That I need to look like this:

ABC
ABC

In both, each letter is in its own cell.

Is there one forumula that I can use to do all-at-once or do I need to do
each set (ABC) individually?

Thanks, JG
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Transpose

Hello there.

If I'm reading you correctly then you do want to try and transpose
your information by selecting it, cut or copy it, then select where
you want it to go, then right click that cell and choose the paste
special option, then check on the Transpose option and VIOLA!

And then you can use your autofill handle.

Did that help?

-Imonit

On Jun 6, 11:58*am, JG wrote:
I have worksheet like this:

A
B
C
A
B
C

That I need to look like this:

ABC
ABC

In both, each letter is in its own cell.

Is there one forumula that I can use to do all-at-once or do I need to do
each set (ABC) individually?

Thanks, JG


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jg jg is offline
external usenet poster
 
Posts: 42
Default Transpose

I don't think I explained it right. The values are different in each cell.

A
1 Name
2 Address
3 Phone
4 Name
5 Address
6 Phone

A B C
Name Address Phone
Name Address Phone

I use the transpose special for the first three, but I don't know how to do
it for the rest w/o doing it three at-a-time.

Thx. JG

"Imonit" wrote:

Hello there.

If I'm reading you correctly then you do want to try and transpose
your information by selecting it, cut or copy it, then select where
you want it to go, then right click that cell and choose the paste
special option, then check on the Transpose option and VIOLA!

And then you can use your autofill handle.

Did that help?

-Imonit

On Jun 6, 11:58 am, JG wrote:
I have worksheet like this:

A
B
C
A
B
C

That I need to look like this:

ABC
ABC

In both, each letter is in its own cell.

Is there one forumula that I can use to do all-at-once or do I need to do
each set (ABC) individually?

Thanks, JG



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Transpose

You can try a macro like this one:
Sub Transpose3Line()
'stop at the first blank row
While ActiveCell < ""
'move contents of next 2 down over on this row
ActiveCell.Offset(0, 1).Formula = ActiveCell.Offset(1, 0).Formula
ActiveCell.Offset(0, 2).Formula = ActiveCell.Offset(2, 0).Formula
'move down one
ActiveCell.Offset(1, 0).Select
'delete two empty rows
Selection.EntireRow.Delete
Selection.EntireRow.Delete
Wend
End Sub

Note that rows are being deleted by this; if there is stuff in other
columns it will be destroyed. If you do have data in other columns you
can replace the 2 "Selection.EntireRow.Delete" lines with
"Selection.Delete Shift:=xlUp" instead.

On Jun 6, 12:38 pm, JG wrote:
I don't think I explained it right. The values are different in each cell.

A
1 Name
2 Address
3 Phone
4 Name
5 Address
6 Phone

A B C
Name Address Phone
Name Address Phone

I use the transpose special for the first three, but I don't know how to do
it for the rest w/o doing it three at-a-time.

Thx. JG

"Imonit" wrote:
Hello there.


If I'm reading you correctly then you do want to try and transpose
your information by selecting it, cut or copy it, then select where
you want it to go, then right click that cell and choose the paste
special option, then check on the Transpose option and VIOLA!


And then you can use your autofill handle.


Did that help?


-Imonit


On Jun 6, 11:58 am, JG wrote:
I have worksheet like this:


A
B
C
A
B
C


That I need to look like this:


ABC
ABC


In both, each letter is in its own cell.


Is there one forumula that I can use to do all-at-once or do I need to do
each set (ABC) individually?


Thanks, JG


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jg jg is offline
external usenet poster
 
Posts: 42
Default Transpose

Awesome. Thank you. You just saved me hours of work!!

"Reitanos" wrote:

You can try a macro like this one:
Sub Transpose3Line()
'stop at the first blank row
While ActiveCell < ""
'move contents of next 2 down over on this row
ActiveCell.Offset(0, 1).Formula = ActiveCell.Offset(1, 0).Formula
ActiveCell.Offset(0, 2).Formula = ActiveCell.Offset(2, 0).Formula
'move down one
ActiveCell.Offset(1, 0).Select
'delete two empty rows
Selection.EntireRow.Delete
Selection.EntireRow.Delete
Wend
End Sub

Note that rows are being deleted by this; if there is stuff in other
columns it will be destroyed. If you do have data in other columns you
can replace the 2 "Selection.EntireRow.Delete" lines with
"Selection.Delete Shift:=xlUp" instead.

On Jun 6, 12:38 pm, JG wrote:
I don't think I explained it right. The values are different in each cell.

A
1 Name
2 Address
3 Phone
4 Name
5 Address
6 Phone

A B C
Name Address Phone
Name Address Phone

I use the transpose special for the first three, but I don't know how to do
it for the rest w/o doing it three at-a-time.

Thx. JG

"Imonit" wrote:
Hello there.


If I'm reading you correctly then you do want to try and transpose
your information by selecting it, cut or copy it, then select where
you want it to go, then right click that cell and choose the paste
special option, then check on the Transpose option and VIOLA!


And then you can use your autofill handle.


Did that help?


-Imonit


On Jun 6, 11:58 am, JG wrote:
I have worksheet like this:


A
B
C
A
B
C


That I need to look like this:


ABC
ABC


In both, each letter is in its own cell.


Is there one forumula that I can use to do all-at-once or do I need to do
each set (ABC) individually?


Thanks, JG





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MLZ MLZ is offline
external usenet poster
 
Posts: 1
Default Transpose

I have a similar problem.

But my list looks like this

name
address
city
phone

name
address
city

name
address
city
email
Phone

I would like the data to look like this

name address city phone
name address city
name address city email Phone

Do you know if it can be done with a macro? I have tried recording one but
have had no success.

Thanks,
MLZ

"Reitanos" wrote:

You can try a macro like this one:
Sub Transpose3Line()
'stop at the first blank row
While ActiveCell < ""
'move contents of next 2 down over on this row
ActiveCell.Offset(0, 1).Formula = ActiveCell.Offset(1, 0).Formula
ActiveCell.Offset(0, 2).Formula = ActiveCell.Offset(2, 0).Formula
'move down one
ActiveCell.Offset(1, 0).Select
'delete two empty rows
Selection.EntireRow.Delete
Selection.EntireRow.Delete
Wend
End Sub

Note that rows are being deleted by this; if there is stuff in other
columns it will be destroyed. If you do have data in other columns you
can replace the 2 "Selection.EntireRow.Delete" lines with
"Selection.Delete Shift:=xlUp" instead.

On Jun 6, 12:38 pm, JG wrote:
I don't think I explained it right. The values are different in each cell.

A
1 Name
2 Address
3 Phone
4 Name
5 Address
6 Phone

A B C
Name Address Phone
Name Address Phone

I use the transpose special for the first three, but I don't know how to do
it for the rest w/o doing it three at-a-time.

Thx. JG

"Imonit" wrote:
Hello there.


If I'm reading you correctly then you do want to try and transpose
your information by selecting it, cut or copy it, then select where
you want it to go, then right click that cell and choose the paste
special option, then check on the Transpose option and VIOLA!


And then you can use your autofill handle.


Did that help?


-Imonit


On Jun 6, 11:58 am, JG wrote:
I have worksheet like this:


A
B
C
A
B
C


That I need to look like this:


ABC
ABC


In both, each letter is in its own cell.


Is there one forumula that I can use to do all-at-once or do I need to do
each set (ABC) individually?


Thanks, JG



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 213
Default Transpose

I have a similar problem.

But my list looks like this

name
address
city
phone

name
address
city

name
address
city
email
Phone

I would like the data to look like this

name address city phone
name address city
name address city email Phone


Maybe something like this would help.

Put the list in column B of Sheet1.

In Sheet1!A1 put
1

In Sheet1!A2 put
2

In Sheet1!A3 put
=IF(A2="",100*INT(A1/100)+101,IF(TRIM(B3)="","",A2+1))
and extend down to the end of the list.

Next go to Sheet2, and put in Sheet2!A1
=IF(ISNA(
VLOOKUP(COLUMN()+100*(ROW()-1),Sheet1!$A:$B,2,FALSE)),"",
VLOOKUP(COLUMN()+100*(ROW()-1),Sheet1!$A:$B,2,FALSE))
Extend A1 to F1, then extend A1:F1 down as far as needed.
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
Transpose from last to first Angela Excel Discussion (Misc queries) 5 April 9th 08 09:13 PM
Transpose? Lucas Ramirez Excel Worksheet Functions 5 June 10th 07 11:15 AM
transpose abc Excel Discussion (Misc queries) 1 April 28th 07 06:30 AM
Transpose Maybe? Dan Oakes Excel Worksheet Functions 7 March 16th 07 12:12 AM
I WANT TO TRANSPOSE LINKS, AS WE TRANSPOSE VALUES Umair Aslam Excel Worksheet Functions 1 September 22nd 05 01:19 PM


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