From the right extract the second amount between two spaces

fransb99

New Member
Joined
Sep 22, 2015
Messages
12
Office Version
  1. 365
Platform
  1. Windows
My text strings look like this

2 X WOODEN CARVED ORIENTAL FIGURINES 1 50.00 50.00 0.00
CANTEEN OF EPNS CUTLERY 1 300.00 300.00 0.00
CRYSTAL DECANTER 1 225.00 225.00 0.00
SET BONE HANDLED BUTTER KNIVES 1 275.00 275.00 0.00

I would like to extract the the first number after the 0.00 at the end of the string between the two spaces; thus respectively
50.00
300.00
225.00
275.00

as amounts
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Maybe
+Fluff 1.xlsm
AB
1
22 X WOODEN CARVED ORIENTAL FIGURINES 1 50.00 50.00 0.0050.00
3CANTEEN OF EPNS CUTLERY 1 300.00 300.00 0.00300.00
4CRYSTAL DECANTER 1 225.00 225.00 0.00225.00
5SET BONE HANDLED BUTTER KNIVES 1 275.00 275.00 0.00275.00
Main
Cell Formulas
RangeFormula
B2:B5B2=TRIM(LEFT(RIGHT(SUBSTITUTE(A2," ",REPT(" ",100)),200),100))
 
Upvote 0
Thanks for that, did the formula work for you?
 
Upvote 0
Thanks for that, did the formula work for you?
The formula did extract the right value, but seem to render them as text, I tried old trick of "*1" or "-0" but get # value error

2 X BOOKSHELVES WITH LADDER 1 5,200.00 5,200.00 0.005,200.00
#VALUE!​
ORIENTAL STYLE TV CABINET 1 1,000.00 1,000.00 0.001,000.00
CANTEEN OF CUTLERY 1 750.00 750.00 0.00750.00
2 X WOODEN CARVED ORIENTAL FIGURINES 1 50.00 50.00 0.0050.00
2 X WOODEN CARVED ORIENTAL FIGURINES 1 50.00 50.00 0.0050.00
CANTEEN OF EPNS CUTLERY 1 300.00 300.00 0.00
300​
CRYSTAL DECANTER 1 225.00 225.00 0.00
225​
SET BONE HANDLED BUTTER KNIVES 1 275.00 275.00 0.00
275​
 
Upvote 0
Hi,

Don't see how @Fluff formula wouldn't work after you *1 or -0, may be try this:

Book3.xlsx
AB
12 X BOOKSHELVES WITH LADDER 1 5,200.00 5,200.00 0.005200
2ORIENTAL STYLE TV CABINET 1 1,000.00 1,000.00 0.001000
3CANTEEN OF CUTLERY 1 750.00 750.00 0.00750
42 X WOODEN CARVED ORIENTAL FIGURINES 1 50.00 50.00 0.0050
52 X WOODEN CARVED ORIENTAL FIGURINES 1 50.00 50.00 0.0050
6CANTEEN OF EPNS CUTLERY 1 300.00 300.00 0.00300
7CRYSTAL DECANTER 1 225.00 225.00 0.00225
8SET BONE HANDLED BUTTER KNIVES 1 275.00 275.00 0.00275
Sheet927
Cell Formulas
RangeFormula
B1:B8B1=LEFT(RIGHT(SUBSTITUTE(A1," ",REPT(" ",100)),200),100)+0
 
Upvote 0
What are your decimal & thousand separators?
If they are comma & space try
Excel Formula:
=SUBSTITUTE(SUBSTITUTE(LEFT(RIGHT(SUBSTITUTE(A2," ",REPT(" ",100)),200),100),","," "),".",",")+0
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,298
Members
449,077
Latest member
Rkmenon

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