+ Reply to Thread
Results 1 to 3 of 3

countif with any cell containing a certain word

  1. #1
    Registered User
    Join Date
    03-09-2007
    Posts
    51

    countif with any cell containing a certain word

    Is it possible using countif to count all cells that contain a '*', even though other data might be contained within the same cells

    i.e. there may be other words or data in the cell aswell but for this purpose '*' denotes a new customer and therefore want to count all these up wherever they appear in the specified data range of D18:D62

    If i use just the normal countif function to simply find only cells in that range that only contain the character '*' i'm currently finding that it returns a value of 45 when it should at the minute be 0, I guess this is because in computer terms it denotes 'count all',

    does anyone know if it is possible to only count this character?

  2. #2
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    Sure - use:

    =COUNTIF(A1:C10,"*~**")

    and adjust the range to suit.

    Hope this helps!

    Richard

  3. #3
    Registered User
    Join Date
    03-09-2007
    Posts
    51
    Fantastic, works perfectly.

    Thank you

+ 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