Dear helpful people of this forum.
Let's assume we have cells that contains strings like "-a -bcd -x -xy -xyz" or any combination of those.
I now need to count occurrences of say "-x". Currently I'm doing that with a formula like:
=COUNTIF(RawData!C2:C99999;"*-x*")
Unfortunately that counts "-x" "-xy" and "-xyz" regardless. So I tried
=COUNTIF(RawData!C2:C99999;"*-x *")
but that yields the same result, so I assume the space after "-x " is ignored. Same goes for regular text filters one can use via UI.
Is there any way to enforce "-x" and only that, like "-xwithatrailingspace"
Thanks in advance.
//Carsten
Bookmarks