Convert numbers stored as text to numbers in excel 2008

MS EXCEL

    Next

  • 1. xl2004 VBA code layout
    Version: 2004 Operating System: Mac OS X 10.5 (Leopard) Processor: Intel Hi I'm new to xl2004 for Mac VBA. In the following Dim & Set statements a Run-Time error (9) Subscript out of Range comes up on the second Set line which is the second sheet. Is the code syntax different in xl2004 VBA? Dim wsDvd As Worksheet ' DVD Titles Dim wsTdx As Worksheet ' Title Index List Set wsDvd = Worksheets("DVD Titles") Set wsTdx = Worksheets("Title Index List") I'm trying to speed up the macro by not using Select whilst transferring data from one sheet to a second sheet and vice-versa. Example: wsDvd.Range("D29").Value = wsTdx.Range("C3").Value TIA Bob C
  • 2. Active Window No Longer There
    Version: 2008 Operating System: Mac OS X 10.4 (Tiger) Processor: Power PC When I upgraded to Office for Mac 2008 for my fully-loaded G-4 PowerMac, I found that Excel no longer has an "active window" near the top of the spreadsheet that shows text or figures as you type. It's a convenience place to edit text or numbers. It appears that now you have to double-click on a row of the spreadsheet, and make your edits there -- which is more time-consuming and difficult. How do I get the active window to appear near the top of the spreadsheet? Is there a formula bar or window I don't know about?
  • 3. Printing from Excel
    Version: 2008 Operating System: Mac OS X 10.5 (Leopard) Processor: intel Whenever I print from Excel the application crashes. It happens no matter what printer I'm using.

Convert numbers stored as text to numbers in excel 2008

Postby rchambers » Fri, 04 Jun 2010 23:35:42 GMT

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel

Trying to sort a spreadsheet using a column that has numbers stored as text. When I sort, the number 1001 is ahead of the number 106. The numbers are all on the left of the cell. How do I convert? <br><br>Thanks <br>
R

Re: Convert numbers stored as text to numbers in excel 2008

Postby lrivers » Sun, 06 Jun 2010 03:42:19 GMT

> Trying to sort a spreadsheet using a column that has numbers stored as text. When I sort, the number 1001 is ahead of the number 106. The numbers are all on the left of the cell. How do I convert? <br>

Re: Convert numbers stored as text to numbers in excel 2008

Postby John_McGhie_[MVP] » Sun, 06 Jun 2010 08:45:00 GMT

Convert those text cells to numbers:

* Find a temporary cell and enter 1 as the value in that cell
* Copy the temporary cell
* Highlight your numbers cell range
* Use Edit > Paste Special > Multiply to multiply all of those 1000 cells by
1.

Excel will force them all to be numbers when it does that :-)

Cheers



On 4/06/10 12:35 AM, in article  XXXX@XXXXX.COM ,




 --

The email below is my business email -- Please do not email me about forum
matters unless I ask you to; or unless you intend to pay!

John McGhie, Microsoft MVP (Word, Mac Word), Consultant Technical Writer,
McGhie Information Engineering Pty Ltd
Sydney, Australia. | Ph: +61 (0)4 1209 1410 | mailto: XXXX@XXXXX.COM 



Similar Threads:

1.Convert numbers stored as text to numbers Excel 2000

I am using Excel 2000 and have received a large data file downloaded from a 
mainframe system.  Is there a way to easily convert the numbers stored as 
text back to numbers so I can total them?

2.Convert numbers stored as text to numbers

Help!!   i'm going mad

how do you Convert numbers stored as text to numbers useing a formula 
(normaly comes up with and error..... but not today)


Thanking you 


3.How do I convert numbers stored as text with spaces to numbers

I imported data into excel but the format for the numbers is in the form of 
text with spaces eg 1000000 entered as 1 000 000, 00. execl cannot read the 
numbers and I would like to convert.

4.Convert numbers stored as text to numbers errors after loading data in

I have an excel spreedsheet that already has cells formated.

I'm trying to write data to excel from sql server (i've tried using
the jet 4.0 oledb driver and ssis's destination excel)  however when I
write rows, it insist on loading data as text, so I get the excel cell
formating error tag on every cell. Any way around this?.

from another tool i've been able to work around this by writing this
to the top of the file, but that was for the web based version of
excel used by asp.net.

<style>.text { mso-number-format:\@; } </style>

the exact error is a green tag on every cell, help on it reads:

Convert numbers stored as text to numbers

5.Convert numbers stored as text to numbers errors after loading dat

To fix the cells that have already been entered:

Sub numerify()
Dim r As Range, rt As Range
Count = 0
Set rt = ActiveSheet.UsedRange.SpecialCells(xlCellTypeConstants, 2)
For Each r In rt
    If IsNumeric(r.Value) Then
     r.Value = 1# * r.Value
     r.NumberFormat = "General"
     Count = Count + 1
    End If
Next
MsgBox (Count & " cells changed")
End Sub

-- 
Gary's Student
gsnu200712

6. Converting numbers stored as text into number-format

7. macro for converting number stored as "text" (or preceeded with ') to "number" formatting

8. How to prevent a number stored as text from converting to a number



Return to MS EXCEL

 

Who is online

Users browsing this forum: No registered users and 50 guest