(1) Explain your problem, don't simply post "This isn't working". What were you doing when you faced the problem? What have you tried to resolve - did you look for a solution using "Search" ? Has it happened just once or several times?
(2) It's also good to get feedback when a solution is found, return to the original post to explain how it was resolved so that more people can also use the results.
Hello Zoltan,
I'm using this formula to count the number of spaces at the beginning of each lines.
Then I use conditionnal formatting to color the lines based on the number of spaces.
The formula is unfortunately in french, hope this helps though.
=TROUVE(GAUCHE(SUPPRESPACE(D10),1),D10)-1
The English version should be:
=find(left(trim(D10),1),D10)-1
Regards, Jean