removing text from excel cells

TOPIC CLOSED
TOPIC CLOSED
Author
Discussion

croxsons

Original Poster:

1,843 posts

200 months

Wednesday 6th February 2008
quotequote all
my wife has a problem. They have a master sheet in excel, with license numbers starting with FL.

Is there a formula to get Excel to strip out the text, just leaving numbers?

I know that there is RIGHT formula, but this is too specific to the number of characters, some licenses will have less numbers for example.

SeanyD

3,379 posts

201 months

Wednesday 6th February 2008
quotequote all
Assuming cell A1 contains 'FL123456' or whatever length the number happens to be

In cell B1 put =MID(A1,3,1000)



tigger1

8,402 posts

222 months

Wednesday 6th February 2008
quotequote all
There's a function called "substitute" that will let you do this.

=substitute(A2, "FL", "&quotwink

This will replace in A2 "FL" with ""

croxsons

Original Poster:

1,843 posts

200 months

Wednesday 6th February 2008
quotequote all
SeanyD said:
Assuming cell A1 contains 'FL123456' or whatever length the number happens to be

In cell B1 put =MID(A1,3,1000)
worked brillantly. cheers.

I know the substitute would have worked well as well though. Should have thought of that.

I have a very thankful wife, so cheers for that.

SeanyD

3,379 posts

201 months

Wednesday 6th February 2008
quotequote all
No worries Tim, make sure she rewards you well. sperm

croxsons

Original Poster:

1,843 posts

200 months

Wednesday 6th February 2008
quotequote all
SeanyD said:
No worries Tim, make sure she rewards you well. sperm
she is how do you say, "with child," due in under six weeks incidently. sperm got me in this position as it is!

dazren

22,612 posts

262 months

Wednesday 6th February 2008
quotequote all
A few O/T posts deleted. Looks like some riff raff have escaped the P&P. The tracker dogs have been let loose.

OP's question already answered so:

[THREAD CLOSED]
TOPIC CLOSED
TOPIC CLOSED