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

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.
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,215,497
Messages
6,125,160
Members
449,209
Latest member
BakerSteve

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