In a given cell, how can I count how many carragereturn/line feeds are imbedded?

P

Phillips

If I have a cell (A3) and want to see how many line feeds are in it, how do
I caunt that? How abount any other charater if it is not the same?

Thanks
Phil
 
P

Phillips

I figured it out!

It is
=(LEN(A3)-LEN(SUBSTITUTE(UPPER(A3),CHAR(10),"")))/LEN(CHAR(10))

Thanks though!

Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top