I am using Len Function to count number of characters:
=LEN(A1)
Now, I have instances that I would like to count as one character and not 2. For example, instances like "DZ" or "LJ", if they exist anywhere in the word it should be counted as -1 to the total of characters. I can solve this with : =LEN(A1) -1, but I have to enter manually and it is a lot of manual work.
I have also tried this:
=IF("lj"|LEN(A1)-1|LEN(A1))
but it throws error.
Is there any way to accomplish this with formula?
Thanks.
=LEN(A1)
Now, I have instances that I would like to count as one character and not 2. For example, instances like "DZ" or "LJ", if they exist anywhere in the word it should be counted as -1 to the total of characters. I can solve this with : =LEN(A1) -1, but I have to enter manually and it is a lot of manual work.
I have also tried this:
=IF("lj"|LEN(A1)-1|LEN(A1))
but it throws error.
Is there any way to accomplish this with formula?
Thanks.