+ Reply to Thread
Results 1 to 5 of 5

Trying to reference a horizontal row in a vertical column

  1. #1
    Registered User
    Join Date
    07-09-2007
    Posts
    6

    Trying to reference a horizontal row in a vertical column

    I have a large sheet of Data, which is arranged in rows, that I'd like to display on a seperate sheet in columns.

    So on
    Sheet1A1 would be Sheet2A1
    Sheet1A2 would be Sheer2B1
    Sheet1A3 would be Sheet2C1

    and so on. I can copy-> Paste special -> Values/Transpose, and everything ends up in the right spot, but I need it to be a reference, so it changes/updates automatically, and I can't seem to find a simple way to do that.

    I suppose I could do it by hand, but I have thousands of data points, it would take days. Is there a trick I'm missing?

    Thanks in Advance,
    Geoff

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    =OFFSET(Sheet1!$A$1,COLUMN(A1)-1,0)

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Try this with your data in column A of sheet1, go to sheet2 and put this in A1 and drag across to the right

    =OFFSET(Sheet1!$A$1,INT((COLUMN()-1)),0)
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  4. #4
    Registered User
    Join Date
    07-09-2007
    Posts
    6

    Awesome Thanks -

    The second one worked, and once I new what to look for I read up on offset commands and learned a lot.

    thanks!

    Geoff

  5. #5
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Glad to hear it - thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1