+ Reply to Thread
Results 1 to 4 of 4

Please help on COUNTIF Partial text, partial text/words also contained in other texts

  1. #1
    Registered User
    Join Date
    01-15-2020
    Location
    Australia
    MS-Off Ver
    Office 365
    Posts
    2

    Please help on COUNTIF Partial text, partial text/words also contained in other texts

    Hi,

    I am trying to use the COUNTIF formula teamed with wildcards for partial text matches. I have managed to get the formula working ok however have discovered one serious flaw.

    When the partial text already contains that part of the word.

    I.E. searching for the suburb "austral" however this is then picked up whenever the externally inputed word "australia" is used.
    I.E. searching for the suburb "tweed heads" when the customer has input "tweed heads south".

    How do i get excel to count on the full version of the word, to be found in an assortment of customer input text?

    I have attached a quick example.

    I am using data from a website enquiry feed, then saving it into my excel spreadsheet - so short of manually removing unnecessary information i.e. Australia whenever it pops up, I still don't have a way to solve the Tweed Heads/Tweed Heads South issue.

    Thanks in advance!
    Attached Files Attached Files
    Last edited by maria.h; 01-15-2020 at 09:39 PM.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Please help on COUNTIF Partial text, partial text/words also contained in other texts

    Using your posted workbook.... I "think" this regular formula (copied down) does what you need:
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    01-15-2020
    Location
    Australia
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Please help on COUNTIF Partial text, partial text/words also contained in other texts

    Yes that worked. Now I have to get my head around what you've actually told me and factor it in with my other IFs but THANK YOU - much appreciated!

  4. #4
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: Please help on COUNTIF Partial text, partial text/words also contained in other texts

    Quote Originally Posted by Ron Coderre View Post
    . . . I "think" this regular formula (copied down) does what you need:
    Please Login or Register  to view this content.
    . . .
    That won't distinguish Tweed Heads from Tweed Heads South. For that, there's really no GOOD alternative to regular expressions with negative look ahead assertions.

+ 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. Countif partial text from another cell
    By cmikec in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2017, 04:25 PM
  2. [SOLVED] Match partial text when partial text is not exact
    By NamiSama in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-21-2014, 07:18 PM
  3. Using cell data as partial text search with COUNTIF
    By CarV in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-08-2014, 12:29 PM
  4. [SOLVED] How to countif to partial text
    By ks100 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-19-2013, 11:42 AM
  5. Partial VLOOKUP for text contained in a cell
    By Rob_Bob007 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-31-2013, 09:41 AM
  6. matching partial text within one cell to partial text within another
    By Solstice in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 03-03-2010, 09:13 PM

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