Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Pai Pai is offline
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
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   Report Post  
Posted to microsoft.public.excel.misc
Pai Pai is offline
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
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 -


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 column into rows for use as mailmerge data Nash Excel Discussion (Misc queries) 5 May 12th 08 01:33 PM
Transpose data from many horizontal rows into a single column Tinkmodbod Excel Discussion (Misc queries) 3 July 10th 07 04:31 PM
Can you transpose 1 column into multiple rows creating a table Richard Excel Discussion (Misc queries) 6 November 2nd 06 09:46 PM
Transpose Data from a column to several rows stansdl Excel Worksheet Functions 5 July 30th 06 10:40 PM
transpose a column into many rows GMed Excel Discussion (Misc queries) 1 January 21st 05 07:15 PM


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