removing everything from the left after 10 digits

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a column of phone numbers. I would like to "strip" off everything
after 10 digits ie1: 5555551212 ie2: 95555551212 ie3: 5551212 ie4: 15555551212

so in columns 2 and 4 I would like to strip off the 9 and 1

I do not have alot of programming exp.

thanks for your help
 
The "Right" function would probably be useful for this. Ie =right("Cell
reference",10)

Regards,

Adam Wood
 
I have a column of phone numbers. I would like to "strip" off everything
after 10 digits ie1: 5555551212 ie2: 95555551212 ie3: 5551212 ie4: 15555551212

so in columns 2 and 4 I would like to strip off the 9 and 1

I do not have alot of programming exp.

thanks for your help

with phone numbers in column B starting in B1, put in A1

=IF(LEN(B1)<=10,B1,RIGHT(B1,LEN(B1)-(LEN(B1)-10)))


HTH


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 
That worked PERFECT (which I'm sure you knew that it would)

Thank you so much!!!
 

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

Back
Top