+ Reply to Thread
Results 1 to 5 of 5

Copy and Paste a specific Column to a Column that's heading matches a particular cell

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    Melbourne
    MS-Off Ver
    Excel 2007
    Posts
    3

    Copy and Paste a specific Column to a Column that's heading matches a particular cell

    Hi, I'm new to the forum. This is my first problem I need help with.

    I need to write a marco that will copy a column of data (H3:H315) to a table I have next to it, based on the value in cell (H2).

    So, if cell (H2) = C, copy the column below (H3:H315), then go and look through rows (J2:AG2) A,B,C,D,E until you find C, then paste the copied column into the cell below C, which would be somewhere in row 3 between J:AG



    Thanks
    R
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Copy and Paste a specific Column to a Column that's heading matches a particular cell

    Hi

    How about.

    Please Login or Register  to view this content.
    rylo

  3. #3
    Registered User
    Join Date
    08-13-2012
    Location
    Melbourne
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Copy and Paste a specific Column to a Column that's heading matches a particular cell

    Hi Rylo,

    Thanks, that's what I need however I think I need to paste the column as just values. I've got forumulae in the column (H3:H315) I'm copying. How do I add a 'paste special - values' to the code ?

    Many thanks in advance.

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Copy and Paste a specific Column to a Column that's heading matches a particular cell

    Hi

    Please Login or Register  to view this content.
    rylo

  5. #5
    Registered User
    Join Date
    08-13-2012
    Location
    Melbourne
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Copy and Paste a specific Column to a Column that's heading matches a particular cell

    Awesome, works perfectly! Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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