Cant convert to True numbers

thedeadzeds

Active Member
Joined
Aug 16, 2011
Messages
445
Office Version
  1. 365
Platform
  1. Windows
Hi Guys,

I have a list of numbers in columns A to D but they dont seem to be actually numbers. I've tried using =Value and =Int but I get an error. I've also tried using the below code but they still wont covert to true numbers. Any ideas?

VBA Code:
'Convert Number stored as text to Number
Sub VBAF1_Convert_Number_Stored_as_Text_to_Number()
   
    'Variable declaration
    Dim rngRange As Range
    Dim Lastrow As Long
    Lastrow = Sheets("ScoreCard").Cells(Rows.Count, "A").End(xlUp).Row
   
   'Define Range which you want to convert to range
    Sheets("ScoreCard").Select
    Set rngRange = ActiveSheet.Range("A2:D" & Lastrow)
  
   
    'Convert Number
    rngRange.Value = rngRange.Value
  
End Sub

Also, there are no space etc in the cells example below

67.0010018113
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Using any of the cells as an example what value do the formulas below return:
Excel Formula:
=UNICODE(LEFT(A1,1))
Excel Formula:
=UNICODE(RIGHT(A1,1))
 
Upvote 0

Forum statistics

Threads
1,217,358
Messages
6,136,093
Members
449,991
Latest member
IslandofBDA

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top