Len & Trim Function

  • Thread starter Thread starter Daren
  • Start date Start date
D

Daren

I am trying to use the Len function to count the number of characters and
numbers in an adjacent cell. When I use this formula, I get an error:
=if(len)(trimA2))=0,0,Len(Trim(A2)))

What might be the problem?

Thanks.
 
or just:
=len(trim(a2))


I am trying to use the Len function to count the number of characters and
numbers in an adjacent cell. When I use this formula, I get an error:
=if(len)(trimA2))=0,0,Len(Trim(A2)))

What might be the problem?

Thanks.
 
Back
Top