Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Vertical into Horizontal

I have a list of records in this format

Name 1
Address 1
City 1
State 1

Name 2
Address 2
City 2
State 2

Name 3
Address 3
City 3
State 3

I would like to put these on a row for each record, i.e.

Name 1 Address 1 City 1 State 1
Name 2 Address 2 City 2 State 2

Any help is much appreciated.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Vertical into Horizontal

Use the INDIRECT() function:

Assuming your data starts in A1, in B1 thru E1 enter:

=INDIRECT("A" & ROW()*5-4)
=INDIRECT("A" & ROW()*5-3)
=INDIRECT("A" & ROW()*5-2)
=INDIRECT("A" & ROW()*5-1)

and then just copy down
--
Gary''s Student


"dthmtlgod" wrote:

I have a list of records in this format

Name 1
Address 1
City 1
State 1

Name 2
Address 2
City 2
State 2

Name 3
Address 3
City 3
State 3

I would like to put these on a row for each record, i.e.

Name 1 Address 1 City 1 State 1
Name 2 Address 2 City 2 State 2

Any help is much appreciated.




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
convert vertical to horizontal AMIT BHOPAL Excel Worksheet Functions 2 December 23rd 09 11:51 AM
horizontal display vs Vertical Tacklemom Excel Discussion (Misc queries) 1 May 11th 09 06:18 PM
Horizontal and Vertical Charts CHKMSTrainer Charts and Charting in Excel 1 October 7th 08 11:44 PM
Vertical to Horizontal Terry Excel Discussion (Misc queries) 3 November 25th 07 04:11 AM
Vertical to horizontal swchee Excel Discussion (Misc queries) 5 June 20th 05 04:25 AM


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