+ Reply to Thread
Results 1 to 9 of 9

formula for evlauating cells for specific text

  1. #1
    Registered User
    Join Date
    12-29-2016
    Location
    no
    MS-Off Ver
    old
    Posts
    5

    formula for evlauating cells for specific text

    Ultimately I am trying to evaluate the D column to see if it contains any of the words: Missed, Hold, or By-passed, but I also want to evaluate the B column to see if it contains the number 1.
    If the evaluation finds any of these, in either column B or D, I want it to display as "evaluate" whereas if none of these are found, I want it to display "no concern"

    I have tried the formula below, with very little success.

    =IFS(ISNUMBER(SEARCH("hold",D3:D3000)),IF(ISNUMBER(SEARCH("1",B3:B3000)),IF(ISNUMBER(SEARCH("missed",D3:D3000)),IF(ISNUMBER(SEARCH("by-passed",D3:D3000))"evaluate"," no concern")))


    Your help is greatly anticipated!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: formula for evlauating cells for specific text

    Try

    =IF(SUM(COUNTIF(D3:D3000,{"hold","missed","by-passed"}),COUNTIF(B3:B3000,1)),"evaluate","no concern")

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

    Re: formula for evlauating cells for specific text

    Try it like this:

    =IF(OR(COUNTIF(D3:D3000,"*hold*"),COUNTIF(D3:D3000,"*missed*"),COUNTIF(D3:D3000,"*by-passed*"),COUNTIF(B3:B3000,1)),"evaluate","no concern")

    The asterisk is a wildcard character, so the formula is looking for any characters before or after "hold", "missed" etc.

    Hope this helps.

    Pete

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

    Re: formula for evlauating cells for specific text

    I misunderstood the requirement.
    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.

  5. #5
    Registered User
    Join Date
    12-29-2016
    Location
    no
    MS-Off Ver
    old
    Posts
    5

    Re: formula for evlauating cells for specific text

    I appreciate the attempt, but I am only getting a response of "evaluate" , even when there is clearly no evidence of having the words or the Number 1 in either cell B or D

    Anyone else?

  6. #6
    Registered User
    Join Date
    02-02-2014
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    37

    Re: formula for evlauating cells for specific text

    Enter Jonmo1's formula as an array using Control + Shift + Enter.
    Last edited by zanguard80; 05-26-2017 at 07:41 AM.

  7. #7
    Registered User
    Join Date
    12-29-2016
    Location
    no
    MS-Off Ver
    old
    Posts
    5

    Re: formula for evlauating cells for specific text

    Thanks for the response. I get a "evaluate" when there is a 1 in the B column, but if I remove the 1 and add any of the words into the D cell, it does not pick up on it to indicate "evaluate"

    Please keep trying!!!

  8. #8
    Registered User
    Join Date
    02-02-2014
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    37

    Re: formula for evlauating cells for specific text

    Quote Originally Posted by MJam View Post
    Thanks for the response. I get a "evaluate" when there is a 1 in the B column, but if I remove the 1 and add any of the words into the D cell, it does not pick up on it to indicate "evaluate"

    Please keep trying!!!
    Please Login or Register  to view this content.
    This also needs to be entered as an array formula.

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

    Re: formula for evlauating cells for specific text

    Maybe it's time for you to attach a sample Excel workbook, so we can try different formulae out with your actual data.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Please note that the Paperclip icon does not work.

    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. [SOLVED] IF statement that looks for specific text output of another cells formula
    By cyrusbyte in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-02-2014, 01:31 PM
  2. [SOLVED] Preventing a formula from working when specific text is in the cells
    By Spritz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-28-2014, 02:11 PM
  3. Replies: 3
    Last Post: 09-20-2013, 04:24 PM
  4. Replies: 7
    Last Post: 09-18-2012, 04:17 PM
  5. Replies: 3
    Last Post: 04-29-2012, 01:07 PM
  6. Excel formula to count cells with specific text
    By timtrace in forum Excel General
    Replies: 3
    Last Post: 04-06-2011, 12:32 AM
  7. Formula to search cells/columns containing specific text
    By serenalove in forum Excel General
    Replies: 2
    Last Post: 01-25-2010, 01:03 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