+ Reply to Thread
Results 1 to 6 of 6

searching specific word in a column

  1. #1
    Registered User
    Join Date
    02-28-2019
    Location
    Scarborough, England
    MS-Off Ver
    MS 365 Subscription (Windows 11 64-bit)
    Posts
    17

    Question searching specific word in a column

    Hi,

    Please can you help me. I want to do separate table which lists all the products that contain the word "roll" in the product name and list their value too. Like in the attached.

    Thanks in advance

    Jenny
    Attached Images Attached Images

  2. #2
    Registered User
    Join Date
    05-12-2021
    Location
    Europe
    MS-Off Ver
    365
    Posts
    45

    Re: searching specific word in a column

    Try this formula to return only the cells that contains "roll" :

    =FILTER(A3:A10,ISNUMBER(SEARCH("roll",A3:A10,1)),"")

    For the values you can use vlookup in column E :

    =VLOOKUP(D4,A3:B10,2,0)

  3. #3
    Registered User
    Join Date
    02-28-2019
    Location
    Scarborough, England
    MS-Off Ver
    MS 365 Subscription (Windows 11 64-bit)
    Posts
    17

    Re: searching specific word in a column

    Attachment 742993

    It seems to be doing a #SPILL! error

  4. #4
    Registered User
    Join Date
    05-12-2021
    Location
    Europe
    MS-Off Ver
    365
    Posts
    45

    Re: searching specific word in a column

    That is because there is data in the way. The formula returns an array. You only need to write the formula only once.
    I attached an example file with the formula.
    Attached Files Attached Files
    "Good Morning, Good Evening and Good Night"

  5. #5
    Registered User
    Join Date
    02-28-2019
    Location
    Scarborough, England
    MS-Off Ver
    MS 365 Subscription (Windows 11 64-bit)
    Posts
    17

    Re: searching specific word in a column

    I worked it out! THNAK YOU

    I was dragging the formula down too far!

    Do you know if there is a way of searching 2 words. for examples listing all products with the word "pie" and also products with the word "cider"? Also, do you know if there is a way to not include ones with the word pie and not with another word like "Pork"?

  6. #6
    Registered User
    Join Date
    05-12-2021
    Location
    Europe
    MS-Off Ver
    365
    Posts
    45

    Re: searching specific word in a column

    Formula to find pie and cider : =FILTER(A2:A5,ISNUMBER(SEARCH("pie*cider",A2:A5,1)),"")

    Formula to NOT find pie and cider : =FILTER(A2:A5,IF(ISNUMBER(SEARCH("pie*cider",A2:A5,1)),FALSE,TRUE),"")

    I also attached the file, check it to see if it's ok
    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. Searching specific word with find function
    By kimudao in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 09-07-2021, 11:53 PM
  2. [SOLVED] Sum if after searching using any word against one column
    By Shareez Saleem in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-01-2017, 08:04 AM
  3. Deleting rows by searching a specific word or empty cell.
    By erickmcburger in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-31-2015, 07:42 AM
  4. Replies: 1
    Last Post: 01-30-2013, 04:41 AM
  5. Searching for word, copy word to different column
    By KevinCT in forum Excel General
    Replies: 2
    Last Post: 01-22-2013, 12:48 PM
  6. Searching for specific word then delete it
    By karinos57 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-12-2008, 04:20 PM
  7. Replies: 0
    Last Post: 06-13-2007, 08:33 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