Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Transposition of data

Hi,
I have some data in the column A of a sheet and in another sheet of the same file, I need to use the same data but horizontaly this time : I need that A2 in first sheet come in B1, A3 in C1, A4 in D1...
And I don't want just the data, I need to this to update itself his the first data change. I have try to do in column a of the ne sheet A1 =A1, A2=A2... and the n copy it to do a pastespecial formula-transpose, but it doesn't work...
Thanks for any hel
Happy Christma
Benjamin
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Transposition of data

Sub TransposeLink()
Dim rng As Range
Dim rw As Long
Set rng = Worksheets("sheet1").Cells(Rows.Count, 1).End(xlUp)

For rw = 1 To rng.Row - 1
With Worksheets("Sheet2")
.Cells(1, rw).Formula = "=Sheet1!A" & rw + 1
End With
Next
End Sub


--
Regards,
Tom Ogilvy

"Ben.c" wrote in message
...
Hi,
I have some data in the column A of a sheet and in another sheet of the

same file, I need to use the same data but horizontaly this time : I need
that A2 in first sheet come in B1, A3 in C1, A4 in D1....
And I don't want just the data, I need to this to update itself his the

first data change. I have try to do in column a of the ne sheet A1 =A1,
A2=A2... and the n copy it to do a pastespecial formula-transpose, but it
doesn't work....
Thanks for any help
Happy Christmas
Benjamin



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Transposition of data

Thanks a lot Tom !
I am stupid, I didn't think to use a & in the formula....
I think I need to go on holidays..
Merry christmas to you To
Benjamin
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
Complex Transposition Leo Demarce Excel Discussion (Misc queries) 4 February 23rd 09 04:34 PM
Automating transposition exercise Bob Matthews[_2_] Excel Worksheet Functions 2 September 27th 08 04:19 AM
Data Entry Online, Data Format, Data Conversion and Data EntryServices through Data Entry Outsourcing [email protected] Excel Discussion (Misc queries) 0 March 20th 08 12:45 PM
Transposition impossibility? Brisbane Rob Excel Discussion (Misc queries) 4 April 30th 06 09:03 PM
Transposition Kuna&Zagiel Excel Worksheet Functions 2 January 7th 05 12:06 PM


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