Separate number (with varying # number of characters) from text

megera716

Board Regular
Joined
Jan 3, 2013
Messages
139
Office Version
  1. 365
Platform
  1. Windows
I need to separate this dollar amount from its label. How do I do this? I know how to use text to columns but dollar amounts range from single digit dollars to hundreds so I can't use fixed width and I'm not great with the LEFT, RIGHT, MID functions 😵‍💫
Screenshot 2023-02-08 102340.png
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
If you always have a dot and 2 decimal places:

Dante Amor
AB
1$156.24Salary Deferral156.24
2$31.25Match31.25
3$25.00Match25.00
Hoja3
Cell Formulas
RangeFormula
B1:B3B1=LEFT(A1,SEARCH(".??",A1)+2)+0
 
Upvote 1
Solution
Are you only looking to the the dollar amount out? With or without the dollar sign?
Try this:
=LEFT(A2,FIND(".",A2)+2)
 
Upvote 0

Forum statistics

Threads
1,213,528
Messages
6,114,154
Members
448,553
Latest member
slaytonpa

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