Separating Numbers and Text

mikes_r

New Member
Joined
Jan 2, 2017
Messages
8
Hi,

I have a list of trading volumes that are given as a mix of numbers and letters, i.e. 1.46M, 856.56K. I'm trying to convert the list into the numbers by transforming the 1.46M into 14600000 and 856.56K into 856560, but I've as yet been unsuccessful. Any help would be great.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Hi,

I have a list of trading volumes that are given as a mix of numbers and letters, i.e. 1.46M, 856.56K. I'm trying to convert the list into the numbers by transforming the 1.46M into 14600000 and 856.56K into 856560, but I've as yet been unsuccessful. Any help would be great.
If you are dealing only with M or K suffixes, this should work:
Code:
=IF(RIGHT(A1,1)="M",1000000*LEFT(A1,LEN(A1)-1),1000*LEFT(A1,LEN(A1)-1))
 
Upvote 0

Forum statistics

Threads
1,216,496
Messages
6,130,982
Members
449,611
Latest member
Bushra

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