Hi,
I'm trying to count the number of rows/lines in a wrap text cell. In the attached sheet, cell A1 contains text which includes "soft returns". At a column width of 10, the text wraps to create 7 lines of text, including the empty line. When I use the following formula, which I found on the web, it returns a value of 3. Can you please help me figure out a formula that will properly count the total number of lines in the cell (7)? Thanks!
=LEN(A1)-LEN(SUBSTITUTE(SUBSTITUTE(A1,CHAR(10),""),CHAR(13),""))
Bookmarks