Forum Discussion
tomgag
Resolver I
8 years agoSearch amd exclude certain strings
Hi, I have the search function but want to exclude certain strings. Ball= IF (ISBLANK ( SEARCH ( "Messi", Table[Column], 1, BLANK () ) ), 0, 1 ) It gives me 1 or 0 depending if Messi is in...
- 8 years ago
Ball = IF (NOT(ISBLANK ( SEARCH ( "Messi", 'Table'[Column], 1, BLANK () ) )) && ISBLANK ( SEARCH ( "Ronaldo", 'Table'[Column], 1, BLANK () ) ) && ISBLANK ( SEARCH ( "Pogba", 'Table'[Column], 1, BLANK () ) ), 1, 0)
tomgag
Resolver I
8 years agoBall = IF (NOT(ISBLANK ( SEARCH ( "Messi", 'Table'[Column], 1, BLANK () ) )) && ISBLANK ( SEARCH ( "Ronaldo", 'Table'[Column], 1, BLANK () ) ) && ISBLANK ( SEARCH ( "Pogba", 'Table'[Column], 1, BLANK () ) ), 1, 0)
- parry2k8 years ago
Super User
My code will work but if you got it resolved, tha'ts what all matters. There is always many way to do the things. Good for you!!
- v-piga-msft8 years ago
Resident Rockstar
Hi tomgag,
It's glad that you have solved your problem. Please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
Best Regargds,
Cherry
- tomgag8 years ago
Resolver I
None of your solutions worked I am afraid.