+ Reply to Thread
Results 1 to 7 of 7

finding multiple broad terms in columns then pasting entire rows to new sheet

  1. #1
    Registered User
    Join Date
    05-01-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    Arrow finding multiple broad terms in columns then pasting entire rows to new sheet

    Cross post- from http://www.excelforum.com/excel-gene...new-sheet.html

    I would like to find items in columns, then selecting entire rows for repaste in new sheet
    After doing a find and replace search within column b on sheet1 for a broad term, ie *potato* all of the cells in column b will be displayed that contained in instance of potato, under cells will be $B$1, $B$246, $B$529, $B1000, etc
    What I would like to do is select those entire rows and paste them in sheet2, and then go back and say search column b for *celery* and past after the potato containing rows on sheet1.

    so
    for ie
    sheet 1
    A B
    1 potato soup
    2 nothing here
    3 potato flakes
    4 something else
    5 celery sticks

    sheet 2 i want
    1 potato soup
    2 potato flakes
    3 celery sticks

    Thanks for looking!
    Last edited by thirdcoast; 05-01-2010 at 03:34 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: finding mutltiple broad terms in coulmns then pasting entire rows to new sheet

    As long as your data has a row of "titles" across the top of the data, specifically in the cell B1, then you can turn on the DATA > FILTER > AUTOFILTER and then filter that column by the term you want using the Custom option.

    That makes it easy to see all the rows that "contain ... potato"...copy all the rows left visible to another sheet, then repeat for your next term, very simple. No macro really needed it's so powerful.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    05-01-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: finding mutltiple broad terms in coulmns then pasting entire rows to new sheet

    HUZZAH! Thank you. Thats a great start! So how would i go about if i want to input several broad kws, say potato, celery, tomato ( more than 2 Or contains in custom autofilter?)

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: finding mutltiple broad terms in coulmns then pasting entire rows to new sheet

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. Since this thread has already received an answer, your other thread will now be closed.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: finding mutltiple broad terms in coulmns then pasting entire rows to new sheet

    Manually filter by one or two items and copy the results over, then do your next filter. This only takes seconds, so should work for you.

  6. #6
    Registered User
    Join Date
    05-01-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: finding mutltiple broad terms in coulmns then pasting entire rows to new sheet

    Thanks Jbeaucaire for your posts.

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: finding mutltiple broad terms in coulmns then pasting entire rows to new sheet

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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