+ Reply to Thread
Results 1 to 4 of 4

yes-no based on multiple criteria including contains specific text

  1. #1
    Registered User
    Join Date
    04-01-2010
    Location
    Belgium
    MS-Off Ver
    Microsoft Office for Microsoft 365 MSO
    Posts
    34

    Question yes-no based on multiple criteria including contains specific text

    Hello,

    I've been trying for days to accomplish the following.

    I included a simplified excel. The original contains more columns and rows in the data sheet.
    In sheet "output": there needs to be "yes" in column B when in the Data-sheet a username (Data-sheet) for the Site/customer in column A contains "comp".

    I tried a lot of different things and I can make a yes/no list per customer. But not just one simple "yes" in 1 field.

    Another solution would be to give me a list of all sites/customers where username contains "comp".

    The Data in te excel changes frequently. So the formula would have to very dynamic.

    Maybe I'm making it to complicated because I've been looking at the problem for too long.

    I hope this makes sense and someone can help me.

    thx!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: yes-no based on multiple criteria including contains specific text

    Administrative Note:

    Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.

    Try this:

    =IF(COUNTIFS(Tabel1[Site],A2,Tabel1[Username],"*comp*"),"Yes","")
    Attached Files Attached Files
    Last edited by AliGW; 01-31-2022 at 04:18 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-01-2010
    Location
    Belgium
    MS-Off Ver
    Microsoft Office for Microsoft 365 MSO
    Posts
    34

    Re: yes-no based on multiple criteria including contains specific text

    Oh wow! Thanks for the fast reply. It works perfectly!

    I was overthinking the problem.

    Thank you very much!!!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: yes-no based on multiple criteria including contains specific text

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

    Please also update your Office version in your profile, as requested earlier.

+ 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] SUMIFS w/ multiple criteria (including summation between specific months)
    By knykil in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-04-2021, 11:22 AM
  2. [SOLVED] Values based on multiple criteria including grouped criteria
    By adsako in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 03-21-2020, 01:24 PM
  3. Replies: 5
    Last Post: 09-23-2015, 04:26 AM
  4. [SOLVED] Returning Text with Multiple Criteria (Including greater than/less than)
    By freybe06 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-22-2014, 11:38 AM
  5. [SOLVED] Formula to return specific text based on multiple cells meeting a single criteria
    By missydanni in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2013, 09:48 AM
  6. Listing Specific Values Based on Criteria (Including Duplicates)
    By Jace in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-22-2008, 02:57 PM
  7. Using array to sum by multiple criteria including one based on prefix
    By monkdelafunk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-29-2008, 02:24 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