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 / New Users / July 2006

Tip: Looking for answers? Try searching our database.

autofill : can it transpose columns & rows?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
opopanax666 - 03 Jul 2006 15:10 GMT
I'm using Excel 2000 at work, and I've got data in colums, which has to
be transposed to rows on an other worksheet, with a "=" function (so no
copy/paste special - transpose). I input the first 3 cells manually,
then select them and try to autofill the rest of the row. No go...
instead of, logically, increasing the column number, Excel increases
the row letter, which has to stay the same, duh...
Does anybody know how to do this?

Signature

opopanax666

Graham Whitehead - 03 Jul 2006 15:32 GMT
Hmm, i see your problem.  Now perhaps someone else may have a simpler way of
doing this - but it can be done simple enough with VBA.  Lets say we have a
column of data in cells A1 to A10 which need to be copied into cell
C2,D2,E2.....

dim x as integer
dim intValue as integer (change this to the data you are working with)

for x = 0 to 9
   intValue = range("A1").offset(x,0).value
   range("C2").offset(0,x).value = intValue
next x

Hope it helps

> I'm using Excel 2000 at work, and I've got data in colums, which has to
> be transposed to rows on an other worksheet, with a "=" function (so no
[quoted text clipped - 3 lines]
> the row letter, which has to stay the same, duh...
> Does anybody know how to do this?
Franz Verga - 03 Jul 2006 15:59 GMT
> I'm using Excel 2000 at work, and I've got data in colums, which has
> to be transposed to rows on an other worksheet, with a "=" function
[quoted text clipped - 3 lines]
> increases the row letter, which has to stay the same, duh...
> Does anybody know how to do this?

You can use this formula in A1 (if the starting cell is not A1, you have to
adapt the formula) of the destination sheet an then copy across rows and
columns:

=OFFSET(Foglio1!$C$12,COLUMN(A1)-1,ROW(A1)-1)

the assumption is that data in columns are on Sheet1 starting from C12.

You have to adapt the assumption to your real data.

Signature

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy

opopanax666 - 04 Jul 2006 07:44 GMT
Cheers, guys, big help!

Signature

opopanax666

 
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.