find within a cell

joeloveszoe

Board Regular
Joined
Apr 24, 2014
Messages
102
Office Version
  1. 365
Platform
  1. MacOS
hi! in a cell i have text that loos like this

<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Helvetica}</style><style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Helvetica}table.t1 {border-collapse: collapse}td.td1 {border-style: solid; border-width: 1.0px 1.0px 1.0px 1.0px; border-color: #cbcbcb #cbcbcb #cbcbcb #cbcbcb ; padding: 0.0px 5.0px 0.0px 5.0px}</style>
2018 - QS - min 1 carton - .94 - volume cost $3.20 - 2018 - QS - min 1 carton - .94
2018 - QS - min 1 carton - .94 - volume cost $2.51 - 2018 - QS - min 1 carton - .94
2018 - QS - min 1 carton - .94 - volume cost $4.44 - 2018 - QS - min 1 carton - .94
2018 - QS - min 1 carton - .94 - volume cost $3.85 - 2018 - QS - min 1 carton - .94

<tbody>
</tbody>


how can i fins the dollar amount?

looking to strip out
$3.20
$2.51
$4.44
$3.85

thanks in advance for your help!!!!!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
given the samples provided, it should be like this:

Code:
=MID(A1,SEARCH("$",A1),SEARCH(" ",A1,SEARCH("$",A1))-SEARCH("$",A1)+1)
 
Upvote 0
Should be able to use a MID formula.
=MID(A1,FIND("$",A1),5)

The 5 at the end of the formula is saying you want the 5 characters once it finds the $.
If you have any values more than five characters long you'll need to adjust the formula.
 
Upvote 0

Forum statistics

Threads
1,215,693
Messages
6,126,237
Members
449,304
Latest member
hagia_sofia

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