How to extract "4/5.00" from cell with value "1.29(4/5.00 SAL)

texhorn92

New Member
Joined
Jul 1, 2017
Messages
10
What formula can I use to get this? Also, can someone explain why it works? I tried using something like this, but no success:
--MID(F2,FIND("(",F2)+1,10)

Thank you!
 

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
Hey try this out....

=MID(F2,FIND("(",F2)+1,6)

You had 10 instead of 6 which gives the result "4/5.00 SAL"

so if we remove the last 4 which would be 10 - 4 we would get 6
 
Upvote 0
What about if I wanted to extract the "5.00" from 1.29(4/5.00 SAL) or "6.00" from 1.69(3/6.00 SAL)

Thank you.
 
Upvote 0
Sorry, I'd also like to know how to get the "4" from "1.29(4/5.00 SAL) using the MID function.

Thanks.
 
Upvote 0
Hi FlameRetired,

I couldn't get =MID(A1,FIND("/",A1)+1,MMULT(FIND({"/"," "},A1),{-1;1})-1) to work.

It's still working at my end. What return(s) are you getting?

Check somethings while you are at it. Since this is the only formula referencing an empty space you might want to check for the presence of other non printable "spaces".

If you are not aware of it all characters have an ASCII numeric code. Characters that often cause problems and confusion are CHAR(160), CHAR(10) and CHAR(13). Actual space characters are CHAR(32).

One way to check would be =FIND(CHAR(160),A1). It should return an error if there is no CHAR(160). Ditto CHARs 10 and 13.
 
Upvote 0
I think I know the problem. I didn't account for a space in my data. It should read 1.29 (4/5.00 SAL) not 1.29(4/5.00). Trying to isolate the value "5.00"

Thank you.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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