+ Reply to Thread
Results 1 to 4 of 4

wildcards

  1. #1
    Registered User
    Join Date
    08-21-2012
    Location
    Iowa, USA
    MS-Off Ver
    Excel 2013
    Posts
    75

    wildcards

    is there a way to do somthing like this IF(M35="yes*" I want a few levels of yes yes-somthing yes-somthingelse no

    one cell will only care about the yes so if possible id rather just get a wildcard in there so I dont have to add extra layers of if statements

    Thanks

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: wildcards

    You can't use a wildcard in a direct comparison like that but if you want to check whether M35 starts with "yes" you can use LEFT, e.g.

    =IF(LEFT(M35,3)="Yes",TRUE,FALSE)

    or COUNTIF with a wildcard

    =IF(COUNTIF(M35,"Yes*"),TRUE,FALSE)
    Audere est facere

  3. #3
    Registered User
    Join Date
    08-21-2012
    Location
    Iowa, USA
    MS-Off Ver
    Excel 2013
    Posts
    75

    Re: wildcards

    ok, Thank you for the quick answer

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: wildcards

    and maybe with search??

    =IFERROR(IF(SEARCH("*yes*",D19,1)=1,"yes there is"),"no sorry")
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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