+ Reply to Thread
Results 1 to 3 of 3

Search for word in a string of data

  1. #1
    Registered User
    Join Date
    02-11-2009
    Location
    Fleet, Hampshire
    MS-Off Ver
    Excel 2003
    Posts
    9

    Search for word in a string of data

    Hi

    I have put a formula in excel to count how many times the word 'administration' appears in a column:

    =COUNTIF(K2:K99,"Administration")

    Unfortunately, the output that I am searching has mulitple words in it, separated with a colon and no space. My formula skips the count if the word Administration is not completely on it's own

    e.g. Administration counts 1
    Administration;Cardiology does not count

    Could anyone help me to adjust my formula to look for the word Administration if it is amongst other words?

    Thank you in advance
    Last edited by Cydney; 02-11-2009 at 12:00 PM.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,447

    Re: Search for word in a string of data

    Hi,

    Try this:

    =COUNTIF(K2:K99,"*Administration*")
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    02-11-2009
    Location
    Fleet, Hampshire
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Search for word in a string of data

    Thanks Dave

    it worked!

    best regards

    Cydney

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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