98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » Getting numbers out of text string
Getting numbers out of text string
Resolved · Low Priority · Version 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.
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Page Break Preview in Excel 2010 (Hint/tip)If you select View then Workbook Views then Page Break Preview, you will be able to view how your Excel spreadsheet will be split across multiple pages when printed. Even better, you can also drag a page break to a new place. Excel will then scale down your entire worksheet to fit the information you want on the pages you want. |