+ Reply to Thread
Results 1 to 3 of 3

excel string processing

Hybrid View

  1. #1
    Registered User
    Join Date
    03-19-2013
    Location
    earth
    MS-Off Ver
    Excel 2007
    Posts
    13

    excel string processing

    Hi all,

    So this is what I'm trying to do:
    1. I have a list of string in column D
    2. I have a list of keywords : keyword1, keyword2, keyword3. They're all listed in column E
    3. I need to check if column D contains any keyword listed in column E. If it does, return the string NEXT to the keyword (ignoring multiple spaces). So, "keyword1 abc def" should only return "abc" even if there are a lot of spaces between "keyword1" and "abc".
    4. If it doesn't contain any keyword, return "nothing"

    If possible, I'd like to avoid VBA and use excel formula, but I'm open to VBA too.
    Could anybody please help with this?
    Thanks
    Last edited by kxtg2431; 02-23-2015 at 04:21 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,691

    Re: excel string processing

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    03-19-2013
    Location
    earth
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: excel string processing

    Hi, thanks for the reply. This is the excel. Please let me know if anything's unclear.
    Attached Files Attached Files

+ 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] Extract all the words from a string for processing, while leaving string intact.
    By staggers47 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-10-2014, 02:02 PM
  2. Sheet-related processing causes Excel VBA Userform to stop processing Tab/Enter
    By Joaquin M Lopez Muno in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-22-2014, 03:02 PM
  3. Reduce processing time for processing multiple excel sheets
    By rexer231 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2014, 09:25 AM
  4. string processing
    By Mustey in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-10-2008, 08:13 PM
  5. processing a string by Excel
    By mark_neil2 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-20-2007, 07:35 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