Results 1 to 4 of 4

Thread: IF statement added is not working

  1. #1

    IF statement added is not working

    Register for a FREE account, and/
    or Log in to avoid these ads!

    I’ve added condition IF(AL2218="Waste","YES","NO")), nothing happens when the condition is TRUE. I could put it at the beginning instead, but I need it to be YES/NO with the countif.

    E2218 cell contains ‘Mark (Sub)’. Can I also ask with which statements the wild cards can be used? Will be probably using it this cell containing ‘Mark (Sub)’ where (Sub) never changes, but the name is changeable.


    Many thanks

  2. #2
    Make sure that the data in cell AL2218 contains no spaces, either before or after the text. If there are then what is seemingly a TRUE result to you will not be.
    As for your second point you can use wildcards in virtually any search criteria. Can you advise exactly what you are looking for? You could try this formula:
    =IF(RIGHT(A3,5)="(Sub)","OK","NO") adjust as necessary.

  3. #3
    Super Moderator Bob Phillips's Avatar
    Join Date
    Mar 2011
    Excel Version
    You can simplify that to


    Are you sure sub is in E2218?

  4. #4
    Thank you for your help. The shortening of the formula, you are very right. Didn't realised it. in regards to the wild cards, could I use the wildcard in the below formula? t doesn't seam to work for me:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts