Data extract from xxx program gives quantities in a text format. I need to multiply the quantities and express them numerically.
Example:
Program output:
1 x 28 tablet pack
2 x 32 tablet pack
5 x 100 tablet pack
8 x 8400 tablet pack
After using the formula =LEFT(A2;SEARCH(" ";A2;1))*MID(A2;4;4)*1
28
64
500
6720
Which is what i need but when the first number is not single i.e.
12 x 28 tablet pack
I have to use formula =LEFT(A2;SEARCH(" ";A2;1))*MID(A2;5;4)*1 which gives the correct result.
How to link those formulas to create ONE formula that will work for both single and double digits???
Bookmarks