PC Review


Reply
Thread Tools Rate Thread

Convert Numbers stored as Text to Numbers

 
 
Emece
Guest
Posts: n/a
 
      30th Nov 2009
I have imported a column with numbers, but the cells are formatted as text.
How do I convert them to Numbers?

Thanks in advance

Regards,
Emece.-
 
Reply With Quote
 
 
 
 
Jacob Skaria
Guest
Posts: n/a
 
      30th Nov 2009
You can easily convert these cells to numeric format if you have enabled
error checking for these cells. Another work around is

--Copy a blank cell
--Keeping the copy select the range of cells with numeric values
--Right click>PasteSpecial>
--Select 'Add' and click OK.

Another way to convert the cells to numerics do the below.
In 2003 Tools>Options>Error checking>'Number stored as text'
In 2007 OfficeButton>ExcelOptions>Formulas>Error checking>

--If you have this option checked; then error checking is enabled for such
cells.
--For cells with numeric value but formatted as text; on the left top corner
of the cell you will see a green triangle.
--Select the range of cells and make sure one of the cells with the green
triangle is the active cell (cell with white background).
--Click/dropdown on the error information popup which is displayed towards
the left of the active cell
--Select 'Convert to number'


Regards
Jacob


"Emece" wrote:

> I have imported a column with numbers, but the cells are formatted as text.
> How do I convert them to Numbers?
>
> Thanks in advance
>
> Regards,
> Emece.-

 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      30th Nov 2009
I sometimes use this assigned to a custom button on the toolbar

Sub fixmynums()
Application.ScreenUpdating = False
On Error Resume Next
For Each c In Selection
If Trim(Len(c)) > 0 And c.HasFormula = False Then
c.NumberFormat = "General"
c.Value = CDbl(c)
End If
Next

Application.ScreenUpdating = True
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Emece" <(E-Mail Removed)> wrote in message
news:4C9DD6B9-F291-4FF6-9BDC-(E-Mail Removed)...
>I have imported a column with numbers, but the cells are formatted as text.
> How do I convert them to Numbers?
>
> Thanks in advance
>
> Regards,
> Emece.-


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert numbers stored as text to numbers NONTO Microsoft Excel Misc 2 17th Sep 2009 01:59 PM
Can I convert numbers stored as text back to numbers in MS Access CUserM Microsoft Access Queries 7 20th Jun 2008 08:12 PM
Convert numbers stored as text to numbers errors after loading data in jobs Microsoft Excel Programming 2 28th Mar 2007 02:57 AM
Convert numbers stored as text to numbers Excel 2000 =?Utf-8?B?RGFybGVuZQ==?= Microsoft Excel Misc 6 31st Jan 2006 08:04 PM
How do I convert numbers stored as text with spaces to numbers =?Utf-8?B?QmFmZnVvcg==?= Microsoft Excel Misc 1 24th May 2005 07:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:09 AM.