+ Reply to Thread
Results 1 to 13 of 13

Search for the keyword with and condition and return to the different sheet within excel

  1. #1
    Registered User
    Join Date
    03-11-2013
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    97

    Search for the keyword with and condition and return to the different sheet within excel

    Hi,
    I've got an Excel document with over 323 entries and I need to search the data to find where ever a certain keyword is mentioned and copy the entire row into a separate sheet within the same workbook. However, I have a list of around 323 keywords and there is AND condition as well.so doing this using Ctrl+F would take some time.
    The data is in Sheet “Training Dataset” and the particular column that needs to be searched is Column "A" . “Training Dataset” is the sheet where I would like the found results to be copied to in the column B and C. The list of Keywords that need to be searched for are located in Sheet “Keywords” , starting from Cell C and D.
    I am enclosing a sheet for your perusal.
    P.S: unable to add the file to the thread... what might have gone wrong?
    Does anyone think they can help me create a macro to carry out this task or know of a better solution for doing it?
    Any help would be much appreciated.
    Thanks,
    Kiran

  2. #2
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: Search for the keyword with and condition and return to the different sheet within exc

    Can you try again to attach a file? I have been itching to try my hand at the dictionary scripting functionality and this seems like a good candidate for it.
    Despite the high cost of living, it remains very popular.

    Don't forget to mark threads SOLVED when you get an answer and rep all the geniouses that helped you today!

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Search for the keyword with and condition and return to the different sheet within exc

    You forgot to enclose sheet..
    kiran..


    Don't forget to click *

  4. #4
    Registered User
    Join Date
    03-11-2013
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Search for the keyword with and condition and return to the different sheet within exc

    I am trying to attach the file... but attach manage tool is not showing my file after I add files... any workaround here

  5. #5
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Search for the keyword with and condition and return to the different sheet within exc

    It doesn't upload a file great than 1000 kbs

    if that is not the problem..
    try uploading the file first...
    then close the window and ....
    then click the manage attachment..again..
    it will show up then..

    Don't forget to click *

  6. #6
    Registered User
    Join Date
    03-11-2013
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Search for the keyword with and condition and return to the different sheet within exc

    Here is the attachment....
    Attached Files Attached Files

  7. #7
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Re: Search for the keyword with and condition and return to the different sheet within exc

    check the solution..


    Don't forget to click *
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    03-11-2013
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Search for the keyword with and condition and return to the different sheet within exc

    Hi Vikas

    Thanks for the file... We have millions of data that needs to be processed.... Hence formulae would take time in the excel to process...
    Can we make it to a macro so that it can run with a click of a button

    Thank you

    Regards
    Kiran Kumar

  9. #9
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Search for the keyword with and condition and return to the different sheet within exc

    Okay..
    I am making it..
    wait for my reply..



    Vikas Gautam


    Don't forget to Click *

  10. #10
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Search for the keyword with and condition and return to the different sheet within exc

    Got the solution...

    here is the code..
    Please Login or Register  to view this content.
    Change your code range manually in the code..


    Don't forget to click *

  11. #11
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Re: Search for the keyword with and condition and return to the different sheet within exc

    Here is the attached file..

    Don't forget to click *, again..
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    03-11-2013
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Search for the keyword with and condition and return to the different sheet within exc

    Hi Vikas,

    Thanks for the macro.... this is what I am exactly looking for... the macro worked excellently

    Regards,
    Kiran Kumar

  13. #13
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Search for the keyword with and condition and return to the different sheet within exc

    Its my pleasure
    Kiran...

+ 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: 6
    Last Post: 03-18-2014, 11:16 AM
  2. [SOLVED] Formula to search from keyword list and return adjacent cell
    By Ninja2k in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-31-2013, 08:44 AM
  3. [SOLVED] Help text keyword search return category type
    By frisbie17 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2012, 06:44 PM
  4. Replies: 1
    Last Post: 12-27-2010, 08:53 AM
  5. Replies: 0
    Last Post: 11-05-2009, 04:47 AM

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