+ Reply to Thread
Results 1 to 3 of 3

Finding word, not a word within a word

  1. #1
    Registered User
    Join Date
    05-17-2020
    Location
    Reading, England
    MS-Off Ver
    2019
    Posts
    17

    Finding word, not a word within a word

    Hi,

    I am using a formula to find matches of words:

    =IF(OR(COUNTIF(R7,"*"&$AI$2:$AI$8&"*")), "Yes", "")

    However, it is finding "too much".

    E.g. I want it to find "oil", but I don't want to see where the word "boiler" has been used.

    Can I only find exact matches (bearing in mind sometimes it will be oil. oil, .Oil etc as it is human input with different grammar).

    Cheers,
    Hurg

  2. #2
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Finding word, not a word within a word

    without testing, just a guess and replace "." with " "
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by bsalv; 12-17-2021 at 10:34 AM.
    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

  3. #3
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Finding word, not a word within a word

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. MS Word Query: Word 365 suddenly 'not responding' with 7 MB Word file
    By magicmath in forum Word Formatting & General
    Replies: 3
    Last Post: 05-16-2018, 07:35 PM
  2. Finding a particular word phrase in word
    By techwizz in forum Word Formatting & General
    Replies: 4
    Last Post: 03-13-2017, 10:18 PM
  3. Excel VBA - Word to search for part of a word and replace full word
    By charlie543 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-24-2016, 02:56 AM
  4. Extract a word in the workbook's filename and add this word to another word
    By cyberjoad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2016, 03:54 AM
  5. [SOLVED] (Challenge) Sum Order From Count "Center" Word To Start Word & "Center" Word To End Word
    By sanju2323 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-31-2015, 12:58 AM
  6. Copy Many Word Docs to New Word Doc (Each Word Doc Should be on New Page)
    By realniceguy5000 in forum Word Programming / VBA / Macros
    Replies: 3
    Last Post: 05-05-2013, 03:28 AM
  7. Finding location in Word works from Word but not from Excel
    By wayneh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-05-2008, 07:52 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