Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

getting numbers out text

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Getting numbers out of text string

Getting numbers out of text string

ResolvedVersion 2007

James has attended:
Excel Advanced - Formulas & Functions course
Excel VBA Intro Intermediate course

Getting numbers out of text string

Hi, is there a formula/function that can get the numbers out of the below text strings?

#89.345
#89.345
#89.345
EUR116.51
#2.695
#2.695

e.g. #89.345 will become 89.345, EUR116.51 will become 116.51 etc

Thanks, James

RE: Getting numbers out of text string

Hi James

Thanks for getting in touch. I've looked at formulas that can attempt this but the downside is Excel's only function capable of doing this looks at the cell character by character. This makes the resulting function enormously convoluted.

There are two other possibilities: if you know any VBA then that's much better suited to this kind of work with the ISNUMERIC function.

Alternatively within Excel you can look at the Text To Columns feature on the Data menu. If the strings are in a similar pattern to the ones you've specified in your example, then Text to Columns can break them up at say, the # symbol, or after the third character. Your data might not be as regular as that but it would be a start.

I hope this helps.

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Wed 27 Mar 2013: Automatically marked as resolved.

Excel tip:

Reconciling a list to correspond with another

May have a list that needs to make but on another sheet one list seems to be out, eg. product list one sheet contains all product and inventory data, while the other contains pricing data. Both need to match with all products but there is more products in one list than the other. To find the disparaging product compare data in the two columns that need to match Make sure that order the same way.
Create another column in the sheet that has the most items and type in the first cell


=Exact(text1,text2) text1 being the cell that you want compared with text2 cell reference. Drag to filldown and your first false will give you for first cells that does not match. Correct insert the row with data in other sheet and continue the process until all the data returns true. Delete the column inserted.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.