Finding Character number for ALT-Enter
Thank you. That helps find and count the number of "Alt-Enter.".
I don't suppose there is a good way to find their position within the cell.
If I have the following values in a cell (where Alt_Enter is -AE-)
1234-AE-567-AE-89 or 123-AE-4567-AE-89. with the count I know there are 3
sets of numbers, but to find the 2nd set they start in position 6 in the
first and 5 in the second. The FIND function will tell me the first location
but not any subsequent ones.
"Bob Ptacek" wrote:
I need to count the number of special characters in a cell (ALT-Enter). Based
on a similar questions for Tab, the solution for tabs in A9 was
=LEN(A9)-LEN(SUBSTITUTE(A9,CHAR(9),""))
I am assuming this would work for me but I can't find how to look up what
the values for the 255 character so I can search for the Alt-Enter value.
I'm running Office 2003 and would be grateful for any guidance.
|