AndyD said:hi i need formula for counting number of dots in a character string....eg how many dots there are in cell A1 = "........hello"
thanks
A
AndyD said:i got 8 too...but if you then overtype it with something else it doesnt count it correctly....
eg try ....something else, ...........................word etc
any ideas?
thanks
Andy
ps an alternative way of doing what we actually want would be to allow user to enter the number of dots they want in cell A1 (eg they put number 12 in), enter a character string in cell A2 (eg company name) and then macro creates this in cell A3
cell A3 = "............company name"
is this something you could help with?
Richie(UK) said:Hi Guys,
Sorry to butt in, but this is weird.
I entered "...test" (three full stops followed by the word test) and copied in the formula. It showed an answer of 0 (nil). I removed the three stops and it still showed 0 (as expected). Then when I re-entered the stops the result shows as 3 (Hooray!).
(Similarly, just doing Len(A1) with the same string gives an answer of 5!)
Aladin - your formula seems to have the same consequences. That is, 0 initially but then the correct count after editing.