converting text numbers

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

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Converting Text to Numbers

Converting Text to Numbers

resolvedResolved · Medium Priority · Version 2010 featured Featured

Robert has attended:
Excel Advanced course
Excel Advanced - Formulas & Functions course

Converting Text to Numbers

I've opened CSV data in my spreadsheet that includes text and numbers (the numbers are in currency form e.g £25).

However, Excel does not recognise the numbers as numbers- thus I cannot add/subtract them or use any functions or formula.

I've tried reformating them as numbers (using format cells), used the text to column command and multipled them by 1 using the paste special command...however none of this has worked.

Is there a way of telling Excel when I open the CSV data that certain columns are 'number'?

Alternatively, are there any macro's that would read the 'text' data in a cell and replace it with 'numbers'?

RE: Converting Text to Numbers

Hi Robert

Thanks for getting in touch. It's an interesting problem, when it looks like a number but doesn't behave like a number!

Use the VALUE function: this converts numbers masquerading as text into proper numbers. You use it like this:

=VALUE(A1)

The currency symbols might cause some issues; let me know how you get on.

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 20 Mar 2013: Automatically marked as resolved.

 

Training courses

 

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
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Moving between split pane sections in a spreadsheet

If you have used the split panes feature in your worksheet, use the following keyboard shortcut keys to move quickly and effortlessly between paned sections:

F6 - Move to the next pane
Shift + F6 - Move to the previous pane

View all Excel hints and tips


Server loaded in 0.09 secs.