Cant convert to True numbers

thedeadzeds

Active Member
Joined
Aug 16, 2011
Messages
451
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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
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,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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