+ Reply to Thread
Results 1 to 11 of 11

categorizing text with keywords

  1. #1
    Registered User
    Join Date
    07-12-2017
    Location
    england
    MS-Off Ver
    15.36
    Posts
    5

    categorizing text with keywords

    I have a spreadsheet that i need help categorizing. At the moment it look like...

    indeed
    indeed.com
    bravo indeed
    reed
    reed.com
    advert reed.co.uk
    etc etc

    I want those to just say indeed or reed. How can i do that?

    Please note there are other categories too, i've just used those two as an example
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,879

    Re: categorizing text with keywords

    Attach a sample workbook (not image).

    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 then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    07-12-2017
    Location
    england
    MS-Off Ver
    15.36
    Posts
    5

    Re: categorizing text with keywords

    Thank John, sorry not used this forum before

    Attachment added with before and after.

    After is done manually at the moment, so i want to know if there is a formula that will do that automatically
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,879

    Re: categorizing text with keywords

    There is no explanation of how the "referral" is derived: it needs a table of "keywords" to be matched and their corresponding "referral" values.

  5. #5
    Registered User
    Join Date
    07-12-2017
    Location
    england
    MS-Off Ver
    15.36
    Posts
    5

    Re: categorizing text with keywords

    I was just hoping they could be related to a keyword in column b

    So would something like this be ok?
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,879

    Re: categorizing text with keywords

    Try this ..

    =IFERROR(INDEX($H$1:$H$12,SUMPRODUCT(--(ISNUMBER(SEARCH($G$3:$G$12,B3)))*ROW($G$3:$G$12))),"")

    Will fail if there are 2 or more "keywords" in B e.g, "indeed Sponsored"


    and can you have "career" on its own (rather then "Career Section"/"Career Website")?

  7. #7
    Registered User
    Join Date
    07-12-2017
    Location
    england
    MS-Off Ver
    15.36
    Posts
    5

    Re: categorizing text with keywords

    That's perfect!

    There is just one line that isn't working and i'm not sure why. Its line 7, which says indeed instead of job board.
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,879

    Re: categorizing text with keywords

    Change keyword to "Jobserve": make keywords as short as possible e.g Linked not Linkedin

  9. #9
    Registered User
    Join Date
    07-12-2017
    Location
    england
    MS-Off Ver
    15.36
    Posts
    5

    Re: categorizing text with keywords

    Perfect, thank you for your help on this!

  10. #10
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,879

    Re: categorizing text with keywords

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  11. #11
    Registered User
    Join Date
    03-28-2019
    Location
    Barcelona
    MS-Off Ver
    2016
    Posts
    1

    Re: categorizing text with keywords

    Hi, this is my first consultation on the forum. I found this interesting file that I really needed. I would like to know if it is possible to add the two options that I comment on in the same file that I attach. I use it to code surveys and it would help me a lot to reduce the stressful delivery times. Thank you very much!
    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] Find if a text value contains one of the keywords
    By billj in forum Excel General
    Replies: 5
    Last Post: 02-22-2024, 01:07 AM
  2. looking for keywords in text and returning a value from an array
    By yozzman87 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-15-2015, 12:59 PM
  3. [SOLVED] VBA looking for multiple keywords and return concatenated keywords, that were found
    By Kpacu007 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-10-2014, 06:03 AM
  4. How do I search a cell for keywords and add text
    By sealsseals06 in forum Excel General
    Replies: 7
    Last Post: 03-12-2014, 06:46 PM
  5. [SOLVED] Search for keywords and copy rows containing keywords to new sheet
    By lenorsk in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-15-2013, 06:54 AM
  6. [SOLVED] HDI - Return multiple keywords in a text column based on a set of available keywords
    By zneiley in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-25-2013, 01:32 PM
  7. [SOLVED] Search Excel files for text and keywords?
    By quartz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-05-2005, 04:20 AM

Tags for this Thread

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