+ Reply to Thread
Results 1 to 5 of 5

Copy Partial Row

  1. #1
    Registered User
    Join Date
    05-29-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    37

    Copy Partial Row

    Hi,

    I have a spreadsheet which has two sheets. Sheet 1 has two columns of data (A and B)
    Column A has some term and Column B has the category that the term belongs in

    A B
    rrrrrr T
    nnnn T
    kkkkkk Y
    lllllllllll Z
    ffffffff Y

    In Sheet 2, I have three columns (A, B, and C) except these columns have the terms T, Y, and Z in row 1
    So,

    A B C
    T Y Z

    What i want the macro to do is basically check Sheet 1 for which category the term is in (T, Y, or Z) and then copy that term and categorize that term under T Y or Z on Sheet 2.

  2. #2
    Registered User
    Join Date
    05-29-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Copy Partial Row

    Book2.xlsx

    Something like this
    Last edited by ayvee0; 08-07-2013 at 10:44 AM.

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Copy Partial Row

    Try this array formula in Sheet2 A3 confirm with Ctrl+Shift+Enter before dragging left and down
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    [EDIT]
    @ ayvee0
    Care to share how the workbook you posted works?
    Attached Files Attached Files
    Last edited by Marcol; 08-07-2013 at 11:07 AM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Copy Partial Row

    This code would do it:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-29-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Copy Partial Row

    thank you good sirs

+ 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. [SOLVED] Copy Partial string three columns to the right
    By sydcoco in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-28-2013, 06:16 AM
  2. Copy and paste partial
    By mattygg in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-24-2012, 02:30 AM
  3. Macro to copy partial cell text
    By waschlappen in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-23-2010, 11:24 AM
  4. Copy partial row based on 1 column value
    By firefiend in forum Excel General
    Replies: 1
    Last Post: 02-21-2007, 05:21 PM
  5. I want to copy partial row to blank row(s) beneath it
    By BWestly in forum Excel General
    Replies: 1
    Last Post: 03-17-2006, 02:00 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