+ Reply to Thread
Results 1 to 4 of 4

=COUNTIF picking up one piece of info out of a cell that contains more info

  1. #1
    Registered User
    Join Date
    08-04-2010
    Location
    Rotherham
    MS-Off Ver
    Excel 2003
    Posts
    49

    =COUNTIF picking up one piece of info out of a cell that contains more info

    I have countif, which works great. However due to the export from our system other values are in the cells that include the text LOW,MED or HIGH meaning no count as it is specifically looking for LOW,MEd or HIGH.

    Here is an example of other text/numbers

    eg 33 LOW or 67 HIGH

    can i modify the formula to pick the LOW,MED,HIGH up?

    =COUNTIF(B2:B798,"LOW")
    =COUNTIF(B2:B798,"MED")
    =COUNTIF(B2:B798,"HIGH")

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,814

    Re: =COUNTIF picking up one piece of info out of a cell that contains more info

    You can use wildcard characters (i.e. asterisk) with COUNTIF, so you can do this:

    =COUNTIF(B2:B798,"*LOW*")
    =COUNTIF(B2:B798,"*MED*")
    =COUNTIF(B2:B798,"*HIGH*")

    Hope this helps.

    Pete

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: =COUNTIF picking up one piece of info out of a cell that contains more info

    Firstly can you please edit your post.

    The formulae should be within fx tags

    select your formula and click on fx

    Secondly you can use wild cards * works as I just tested it and replaces any number of characters, ? should replace a single character.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,814

    Re: =COUNTIF picking up one piece of info out of a cell that contains more info

    Thanks for the rep, Benjii.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Pete

+ 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. need cell to populate info from anther sheep depending on info entered.
    By superchew in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2015, 09:03 PM
  2. [SOLVED] A nesting IF formula that will only put info if another cell has info...
    By greenfox74 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2012, 10:33 PM
  3. Enter Cell Info, Retrieve Info from Website, Record Results
    By DrSues02 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2009, 09:03 AM
  4. lookup cell info and returning line info
    By Wisconsinscw in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-08-2008, 07:05 PM
  5. Replies: 1
    Last Post: 02-21-2006, 10:30 PM
  6. [SOLVED] Picking one column of info
    By scott45 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-25-2005, 02:05 PM
  7. Replies: 3
    Last Post: 02-01-2005, 01:06 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