+ Reply to Thread
Results 1 to 5 of 5

copy data from column to row

  1. #1
    Registered User
    Join Date
    03-21-2013
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    46

    copy data from column to row

    Hi, I've done some searching and have found a few examples but they don't seem to be a match for me. Hope someone here can help.

    I have a sheet called "example" where all my data is, I'd like to copy output data from "example" to "data".

    example!B1 copied to data!A7
    example!D1 copied to data!B7
    example!B4 copied to data!C7

    example!F1 copied to data!A8
    example!H1 copied to data!B8
    example!F4 copied to data!C8

    example!J1 copied to data!A9
    example!L1 copied to data!B9
    example!J4 copied to data!C9

    The above will have 100 or more examples.

    Thanks, this forum is a life saver

  2. #2
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: copy data from column to row

    Seems like you may need a VBA solution for this.

    Regardless, it would be helpful if you could post a sample spreadsheet with sensitive data removed with details on the desired output that you want.

    To attach a file, click on "Go Advanced" just below the Quick Reply box, and follow the instructions on Manage Attachments at the bottom of the resulting website.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: copy data from column to row

    Use these formulae in the cells stated on the Data sheet:

    A7: =INDEX(Example!$1:$1,(ROWS($1:1)-1)*4+2)
    B7: =INDEX(Example!$1:$1,ROWS($1:1)*4)
    C7: =INDEX(Example!$4:$4,(ROWS($1:1)-1)*4+2)

    then copy down as required.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    03-21-2013
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    46

    Re: copy data from column to row

    Quote Originally Posted by Pete_UK View Post
    Use these formulae in the cells stated on the Data sheet:

    A7: =INDEX(Example!$1:$1,(ROWS($1:1)-1)*4+2)
    B7: =INDEX(Example!$1:$1,ROWS($1:1)*4)
    C7: =INDEX(Example!$4:$4,(ROWS($1:1)-1)*4+2)

    then copy down as required.

    Hope this helps.

    Pete
    This is great and worked perfectly! Thank you so very much.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: copy data from column to row

    You're welcome - thanks for feeding back.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 08-04-2015, 05:42 AM
  2. Replies: 5
    Last Post: 11-17-2014, 02:40 PM
  3. Copy data from column K to column B if Column C and column I match
    By goog2013 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-20-2013, 12:19 PM
  4. Copy data from textbox1 to column A till end of cell data of column B
    By JoaoFerreira1985 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-12-2013, 01:19 PM
  5. Macro to copy and paste special values for column data and filter column data
    By ascottbag in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-10-2012, 02:15 PM
  6. Replies: 5
    Last Post: 02-07-2012, 04:55 PM
  7. Replies: 2
    Last Post: 03-16-2009, 12:26 PM

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