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:
[TABLE="width: 396"]
<colgroup><col></colgroup><tbody>[TR]
[TD]UNIVERSAL 1420449 WASHABAUGH $55 11/21/2018[/TD]
[/TR]
[TR]
[TD]UNIVERSAL 1420449 WASHABAUGH $76 11/21/2018[/TD]
[/TR]
[TR]
[TD]UNIVERSAL 1420450 WASHABAUGH $55 11/21/2018[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 396"]
<tbody>[TR]
[TD="width: 396"]UNIVERSAL 1420450 WASHABAUGH $76 11/21/2018[/TD]
[/TR]
</tbody>[/TABLE]


Desired outcome:
$55
$76
$55
$76


Regards,

Dastnai
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
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,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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