Forum Discussion

mijss's avatar
mijss
Regular Visitor
10 years ago

Search for a text

I  have this formula;

Dynamisch Achter = IF(search("AFSTANDSCHOT ACHTER GOAL";'Competitie BW 20152016'[Actie];1;0);1; IF(SEARCH("AFSTANDSCHOT ACHTER";'Competitie BW 20152016'[Actie];1;0);1; IF(SEARCH("DOORLOOP ACHTER GOAL";'Competitie BW 20152016'[Actie];1;0);1; IF(SEARCH("DOORLOOP ACHTER";'Competitie BW 20152016'[Actie];1;0);1;IF(SEARCH("KORT SCHOT ACHTER GOAL";'Competitie BW 20152016'[Actie];1;0);1; IF(SEARCH("KORT SCHOT ACHTER";'Competitie BW 20152016'[Actie];1;0);1; 0))))))

With this formula I select a text. But in this field Competitie BW 20152016'[Actie] is also the text for example AFSTANDSCHOT ACHTER LINKS. 

 

my problem is that the second text AFSTANDSCHOT ACHTER LINKS the formule also count. But that is not good. How can i fix this

No RepliesBe the first to reply