Using lookup with mid or if with mid

fidelityfranchise

New Member
Joined
Apr 23, 2015
Messages
14
I am new to the forum and have a question regarding which type of formula to use...

I have a set of values that export as text ($12.0K, $11.0K, $8.2K, etc.) and need to get the numerical portion out into its own cell. I know the right, left, and mid formulas can do this, however I am having difficulty since the number of characters changes.

For example, I need to pull the 12.0 out but the same formula does not work to pull out the 8.2, it also pulls out the K (8.2K)...

Can someone help me with what my formula should look like and if i should try to use a lookup to do this or an if formula?

Thanks,
AJ
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Welcome to the Forum

Try

Excel 2012
AB
1$12.0k12.0
2$8.2k8.2
3$11.0k11.0
4$23.56k23.56
Sheet3
Cell Formulas
RangeFormula
B1=MID(A1,2,LEN(A1)-2)
 
Upvote 0
This is exactly what I needed... For my knowledge, what does the -2 do?
Hallo!
the Momentmann's formula works great but I'd suggest to Add +0, so you can convert a number stored as text in a real number
=MID(A1,2,LEN(A1)-2)+0
So from now on you can make calculation with this number, before not
regards
 
Upvote 0
Hallo!
the Momentmann's formula works great but I'd suggest to Add +0, so you can convert a number stored as text in a real number
=MID(A1,2,LEN(A1)-2)+0
So from now on you can make calculation with this number, before not
regards
Nice addition, I like this construct
=1*MID(A1,2,LEN(A1)-2)
 
Upvote 0

Forum statistics

Threads
1,215,721
Messages
6,126,461
Members
449,315
Latest member
misterzim

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