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

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
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,224,823
Messages
6,181,173
Members
453,021
Latest member
Justyna P

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