Read data from a Row to a Column

K

Ken G.

I have data in a row, say A1:Z1 and I need to create a formula so that I can
copy down From say A2:A27. I don't want to copy and paste transpose as the
data is volatile. I need a formula for cell A2 that I can then copy down
column A to read the data from row 1 without having to manually change the
column reference for each row.
 
K

Ken G.

Sorry, I realised I've already asked this question and was given a good
answer that worked for me ...

=OFFSET(Sheetname!$A$1,COLUMNS($A:A)-1,)
 
T

T. Valko

=OFFSET(Sheetname!$A$1,COLUMNS($A:A)-1,)

That'll work for a vertical to horizontal flip. I thought you wanted the
reverse, horizontal to vertical:

Entered in A2 and copied down as needed:

=INDEX(Sheetname!A$1:Z$1,ROWS(A$2:A2))
 
M

Max

Think the expression that you posted:
=OFFSET(Sheetname!$A$1,COLUMNS($A:A)-1,)
is for copying across, to transpose dynamically from a column data range

To do it the other way around (your objective here),
ie copy down to transpose dynamically from a row data range
use this in the start cell, copy down:
=OFFSET(Sheetname!$A$1,,ROWS($1:1)-1)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,800 Files:359 Subscribers:56
xdemechanik
---
 
K

Ken G.

Actually I needed both - row to column and column to row, so thanks Biff and
Max. Problem solved!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top