+ Reply to Thread
Results 1 to 3 of 3

Please Help, trying to figure out an advanced word seach

  1. #1
    Registered User
    Join Date
    05-28-2019
    Location
    Virginia
    MS-Off Ver
    2016
    Posts
    1

    Please Help, trying to figure out an advanced word seach

    I have a spreadsheet with 16,000 rows. There are 12 columns and 5 of the columns have a large amount of text in each cell.

    Lets just say the 16,000 lines are related to fruit. I want to do a word search for "apple" that takes any row that the word "apple" appears, copies it, and pastes it into a new worksheet. The entire row, not just the cell it appears in. I am not concerned about duplicity, I can remove duplicates later.

    Any suggestions on how I would go about this? I was thinking a Macro at first but I am not sure that would get me where I want to go. I also want to be able to repeat the process, eventually having separate worksheets for "banana", Orange", "lime", etc.

    Thanks for the help!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Please Help, trying to figure out an advanced word seach

    Welcome to the Forum Downwinder! Nice to see another Virginian.

    It might be possible to do this with formulas but it would be rather complicated. Other folks might revel in creating complex formulas, but if it were me I would be writing a macro. I can give more guidance if you provide a sample file.

    The paper clip icon does not work for attachments. To attach a file, under the text box where you type your reply click the Go Advanced button. On the next screen scroll down and click on Manage Attachments, which will show a pop-up window to Select and Upload a file. Then close the window.

    P.S. "duplication" not "duplicity".
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Please Help, trying to figure out an advanced word seach

    I might be inclined to use a filter for this:

    simpler autofilter: https://www.wikihow.com/Use-AutoFilter-in-MS-Excel
    more complex advanced filter: https://www.contextures.com/xladvfilter01.html

    Autofilter could not handle a "column B contains apple or column C contains apple or column D ..." , so you would need to use advanced filter if you stick with that exact approach. I could see adding a helper column of some kind that would either combine the text in the 5 columns or that would determine which fruits are spoken of in those 5 columns, then a simple autofilter on that helper column might work. Filters can sometimes filter out duplicates, too, so you might be able to solve that part of the problem as well.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Seach box to seach for all letters in cell regardless of combination.
    By noes75 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-28-2018, 05:27 PM
  2. Seach a word and get all related details in message box from master file
    By AnkitJain in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-08-2017, 01:07 AM
  3. Replies: 1
    Last Post: 05-18-2016, 05:00 AM
  4. Replies: 4
    Last Post: 02-03-2014, 08:05 AM
  5. [SOLVED] Advanced Filtering -Runtime Error 1004. Cannot figure out why will not work.
    By thelisa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-24-2013, 08:00 AM
  6. [SOLVED] Macro to Seach word and color the row till G coloum.
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-29-2013, 02:56 PM
  7. seach specific word in column & write something different in next column
    By canada123 in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 02-05-2010, 05:09 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