Convert text to values

  • Thread starter Thread starter John M
  • Start date Start date
J

John M

Hello,

I just downloaded a large amount of numbers from the
internet, but unfortunately they came over to my Excel
spreadsheet in text format. I need to perform
calculations with this data. Is there a fast way to
convert all the data to numerical values?

Thanks, John
 
John M said:
Hello,

I just downloaded a large amount of numbers from the
internet, but unfortunately they came over to my Excel
spreadsheet in text format. I need to perform
calculations with this data. Is there a fast way to
convert all the data to numerical values?

Thanks, John

Sub fTwo()
With ActiveSheet.UsedRange
.Value = .Value
End With

End Sub

its the same as F2 in each cell
 
Another way,
Enter 1 in an vacant cell, right click > Copy
Highlight all your numbers, right click, Paste Special > check Multiply > OK
Delete the 1 in the vacant cell,
Regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top