Extract Number Formula Needed

Dastnai

New Member
Joined
Oct 26, 2018
Messages
45
Hi Everyone,

I am looking for a formula to extract the amount for each of these cells. Any help would be greatly appreciated.

Sample:
UNIVERSAL 1420449 WASHABAUGH $55 11/21/2018
UNIVERSAL 1420449 WASHABAUGH $76 11/21/2018
UNIVERSAL 1420450 WASHABAUGH $55 11/21/2018

<colgroup><col></colgroup><tbody>
</tbody>
UNIVERSAL 1420450 WASHABAUGH $76 11/21/2018

<tbody>
</tbody>


Desired outcome:
$55
$76
$55
$76


Regards,

Dastnai
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi Dastnai,

Based on your posted examples, this will do the job (change just the cell reference to suit):

=VALUE(MID(A1,30,4))

Regards,

Robert
 
Upvote 0
If all your entries are not the same length, then this should do what you want:
Code:
=TRIM(LEFT(SUBSTITUTE(MID(A1,FIND("$",A1),10)," ",REPT(" ",100)),100))
 
Upvote 0
Yes I should have specified that in my request. They were not the same length. This works to perfection. Thank you.
 
Upvote 0
Yes I should have specified that in my request. They were not the same length. This works to perfection. Thank you.
Here is another formula (slightly shorter, one less function call) that you can also consider (it assumes your dollar value is always the second "field" from the right as all of your examples show)...

=TRIM(LEFT(RIGHT(SUBSTITUTE(A1," ",REPT(" ",100)),200),100))
 
Upvote 0

Forum statistics

Threads
1,215,646
Messages
6,126,004
Members
449,279
Latest member
Faraz5023

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