Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Converting Rows to Columns

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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Converting Rows to Columns

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)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"woalmoore" wrote:
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?

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
Converting from rows to columns Tripp K Excel Discussion (Misc queries) 3 May 9th 07 12:00 PM
Converting columns into rows Manni Excel Discussion (Misc queries) 2 March 29th 07 03:12 PM
(Again) Converting rows to columns nickr1954 Excel Discussion (Misc queries) 4 January 28th 06 01:22 PM
Converting Columns to Rows Chris D'Onofrio Excel Worksheet Functions 1 March 30th 05 08:08 PM
Converting Rows to Columns? PaulFincannon Excel Discussion (Misc queries) 5 February 16th 05 11:26 PM


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