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

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
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
Code:
=mid(f2,find("/",f2)+1,4)
 
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,215,772
Messages
6,126,800
Members
449,337
Latest member
BBV123

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