Forum Discussion
SoyAllenChiu
Oct 02, 2023Copper Contributor
EXTRACT NUMBER WITH FORMULA
Hi everyone, can someone help me solve this issue? If in a cell there is this term "DISCOUNT 15.00%" how can I extract only the number within text, so I can use it as source amount for calculatio...
- Oct 02, 2023
Hi,
Try
=VALUE(MID(B93,FIND(" ",B93)+1,FIND("%",B93)-(FIND(" ",B93)+1)))
It worked for me. I added "Value" just to get a number instead of a text.
Best regards
Per
SanthoshKunder
Oct 02, 2023Iron Contributor
To prevent calculation errors, it's advisable to wrap this formula with VALUE()
SoyAllenChiu
Oct 02, 2023Copper Contributor
Right. By applying the formula, without finish it, it prompt me to check the formula.