Trim

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

Guest

Hello from Steved

I would like to trim B0101 to 101 please.

I know how to do it but right now I just cannot remember how.

Thankyou.
 
It's hard to tell your intent from one example

what happens if you have B00001?

Perhaps

=REPLACE(A1,1,1,"")+0
 
Hello daddylongles from Steved

I thankyou for your formula as I can have B0027 which Leave 27 and B0127
will leave
127.

Cheers.
 
Perhaps

=--SUBSTITUTE(A1,"B","")
or
=TEXT(--SUBSTITUTE(A1,"B",""),"#")
if you need it to remain text.
 
Did not see daddylonglegs already has the solution at the bottom of his post.
 

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