Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / May 2008

Tip: Looking for answers? Try searching our database.

Converting Rows to Columns

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
woalmoore - 20 May 2008 13:33 GMT
I've got two worksheets in a workbook.  In one of them I am creating a
seating chart for an auditorium.  I have five rows of seats with the rows
running horizontally in the worksheet.  In the other sheet I am trying to
link to the first sheet and put those students into a processional order for
a graduation ceremony.  Linking to individual cells is no problem.  The time
consuming part is that I am trying to turn the horizontal rows of seats into
vertical rows of the lines.  To complicate things even more, one of the lines
needs to be reversed order...in other words the seat at the far right (AO12
for example) needs to be at the front of the line followed by AN12, etc while
the other line needs to go more in order with A12 first followed by B12, etc.
Is the easiest/only way to do this with a VB program to assign the cell
contents or can it be done with a formula?
Max - 20 May 2008 14:19 GMT
To extract columnwise "in reverse", eg: AO12, then AN12, AM12, ...
Put in the starting cell, eg in A15, copy down:
=OFFSET($AO$12,,1-ROWS($1:1))

And to extract columnwise "normal" eg: A12, then B12, C12, ...
try in say, B15, copy down: =OFFSET($A$12,,ROWS($1:1)-1)
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

> I've got two worksheets in a workbook.  In one of them I am creating a
> seating chart for an auditorium.  I have five rows of seats with the rows
[quoted text clipped - 8 lines]
>  Is the easiest/only way to do this with a VB program to assign the cell
> contents or can it be done with a formula?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.