A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Transpose Column to Rows



 
 
Thread Tools Display Modes
  #1  
Old December 10th, 2008, 09:35 AM posted to microsoft.public.excel.misc
Pai
external usenet poster
 
Posts: 18
Default Transpose Column to Rows

I have around 1600 Name along with company
name,Address1,Address2,City,State,Pincode

For Ex:

Mr.hardeep Kanwar
Bi/200
Yamuna Vihar
Dehi
110053

Some times it has 5data as mentioned in the Example, Sometime4 and sometimes 6

And in the end of every data there is a Blank Row

Like This
Mr.hardeep Kanwar
Bi/200
Yamuna Vihar
Dehi
110053
Blank
Ms. Danielle Fran
American Cancer Society
1555 Abbey Road
East Lansing, MI 48823
Blank

Now i want to Convert like this

Mr.hardeep Kanwar Bi/200 Yamuna Vihar Dehi 110053
Ms. Danielle Fran American Cancer Society 1555 Abbey Road East Lansing, MI
48823

But Without using Marco.



Any Help will be Highly Appreciate

Hardeep Kanwar
  #2  
Old December 10th, 2008, 11:12 AM posted to microsoft.public.excel.misc
Pete_UK
external usenet poster
 
Posts: 8,780
Default Transpose Column to Rows

Insert a blank row at the top of your data, and put these formulae in
the cells stated:

B2: =IF($A1="",$A2,"")
C2: =IF($A1="",$A3,"")
D2: =IF($A1="",$A4,"")

(Note the similarities with these formulae)

E2: =IF($A1="",IF(OR($A5="",D2=""),"",$A5),"")
F2: =IF($A1="",IF(OR($A6="",E2=""),"",$A6),"")
G2: =IF($A1="",IF(OR($A7="",F2=""),"",$A7),"")

Then you can just copy these down to get the name and address in
columns B to G on the top row of your current addresses. You can fix
the values and then column A can be deleted.

The blank rows can be deleted by applying a filter to one of the
columns, selecting Blanks from the pull-down, highlighting the visible
(blank) rows and then clicking on Edit | Delete Rows. Then you can
select All from the filter pull-down to see your data in the format
you require.

Hope this helps.

Pete

On Dec 10, 9:35*am, Pai wrote:
I have around 1600 Name along with company
name,Address1,Address2,City,State,Pincode

For Ex:

Mr.hardeep Kanwar
Bi/200
Yamuna Vihar
Dehi
110053

Some times it has 5data as mentioned in the Example, Sometime4 and sometimes 6

And in the end of every data there is a Blank Row

Like This
Mr.hardeep Kanwar
Bi/200
Yamuna Vihar
Dehi
110053
Blank
Ms. Danielle Fran
American Cancer Society
1555 Abbey Road
East Lansing, MI 48823
Blank

Now i want to Convert like this

Mr.hardeep Kanwar * * * Bi/200 *Yamuna Vihar * *Dehi * *110053
Ms. Danielle Fran * * * American Cancer Society 1555 Abbey Road East Lansing, MI
48823

But Without using Marco.

Any Help will be Highly Appreciate

Hardeep Kanwar


  #3  
Old December 10th, 2008, 03:18 PM posted to microsoft.public.excel.misc
Pai
external usenet poster
 
Posts: 18
Default Transpose Column to Rows

Thanks Pete

It Works gr8

Thanks again


"Pete_UK" wrote:

Insert a blank row at the top of your data, and put these formulae in
the cells stated:

B2: =IF($A1="",$A2,"")
C2: =IF($A1="",$A3,"")
D2: =IF($A1="",$A4,"")

(Note the similarities with these formulae)

E2: =IF($A1="",IF(OR($A5="",D2=""),"",$A5),"")
F2: =IF($A1="",IF(OR($A6="",E2=""),"",$A6),"")
G2: =IF($A1="",IF(OR($A7="",F2=""),"",$A7),"")

Then you can just copy these down to get the name and address in
columns B to G on the top row of your current addresses. You can fix
the values and then column A can be deleted.

The blank rows can be deleted by applying a filter to one of the
columns, selecting Blanks from the pull-down, highlighting the visible
(blank) rows and then clicking on Edit | Delete Rows. Then you can
select All from the filter pull-down to see your data in the format
you require.

Hope this helps.

Pete

On Dec 10, 9:35 am, Pai wrote:
I have around 1600 Name along with company
name,Address1,Address2,City,State,Pincode

For Ex:

Mr.hardeep Kanwar
Bi/200
Yamuna Vihar
Dehi
110053

Some times it has 5data as mentioned in the Example, Sometime4 and sometimes 6

And in the end of every data there is a Blank Row

Like This
Mr.hardeep Kanwar
Bi/200
Yamuna Vihar
Dehi
110053
Blank
Ms. Danielle Fran
American Cancer Society
1555 Abbey Road
East Lansing, MI 48823
Blank

Now i want to Convert like this

Mr.hardeep Kanwar Bi/200 Yamuna Vihar Dehi 110053
Ms. Danielle Fran American Cancer Society 1555 Abbey Road East Lansing, MI
48823

But Without using Marco.

Any Help will be Highly Appreciate

Hardeep Kanwar



  #4  
Old December 10th, 2008, 03:24 PM posted to microsoft.public.excel.misc
Pete_UK
external usenet poster
 
Posts: 8,780
Default Transpose Column to Rows

You're welcome - thanks for feeding back.

Pete

On Dec 10, 3:18*pm, Pai wrote:
Thanks Pete

It Works gr8

Thanks again



"Pete_UK" wrote:
Insert a blank row at the top of your data, and put these formulae in
the cells stated:


B2: * =IF($A1="",$A2,"")
C2: * =IF($A1="",$A3,"")
D2: * =IF($A1="",$A4,"")


(Note the similarities with these formulae)


E2: * =IF($A1="",IF(OR($A5="",D2=""),"",$A5),"")
F2: * =IF($A1="",IF(OR($A6="",E2=""),"",$A6),"")
G2: * =IF($A1="",IF(OR($A7="",F2=""),"",$A7),"")


Then you can just copy these down to get the name and address in
columns B to G on the top row of your current addresses. You can fix
the values and then column A can be deleted.


The blank rows can be deleted by applying a filter to one of the
columns, selecting Blanks from the pull-down, highlighting the visible
(blank) rows and then clicking on Edit | Delete Rows. Then you can
select All from the filter pull-down to see your data in the format
you require.


Hope this helps.


Pete


On Dec 10, 9:35 am, Pai wrote:
I have around 1600 Name along with company
name,Address1,Address2,City,State,Pincode


For Ex:


Mr.hardeep Kanwar
Bi/200
Yamuna Vihar
Dehi
110053


Some times it has 5data as mentioned in the Example, Sometime4 and sometimes 6


And in the end of every data there is a Blank Row


Like This
Mr.hardeep Kanwar
Bi/200
Yamuna Vihar
Dehi
110053
Blank
Ms. Danielle Fran
American Cancer Society
1555 Abbey Road
East Lansing, MI 48823
Blank


Now i want to Convert like this


Mr.hardeep Kanwar * * * Bi/200 *Yamuna Vihar * *Dehi * *110053
Ms. Danielle Fran * * * American Cancer Society 1555 Abbey Road East Lansing, MI
48823


But Without using Marco.


Any Help will be Highly Appreciate


Hardeep Kanwar- Hide quoted text -


- Show quoted text -


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.