Forum Discussion
Calculable Text?
So what are your expected results here? Do you simply want to replace "x" with "*"? Or do you want to see the total weight/volume returned to another cell, i.e. (for your two examples): 10 ltr and 6300g?
Regards
Both option is acceptable.
Thanks Frank
- Jos_WoolleyMay 25, 2020Iron Contributor
Well, the first is very simple: if cell A1 contains
2 x 5 ltr [2]
then this formula in B1
=SUBSTITUTE(A1,"x","*")
will return
2 * 5 ltr [2]
Regards
- Qkta6667May 25, 2020Copper ContributorHi Jos,
thanks for this, but now how can i turn this into a total volume in an another cell what can see the difference between Liter and Kilogram?
Thanks
Frank- Jos_WoolleyMay 25, 2020Iron Contributor
Ah, so then that first solution was not in fact an option for you. Are you now saying that in fact my second proposal is what you require, i.e. to return 10 ltr and 6300g?
If so, can you clarify the precise nature of the cell contents? For example, do they always have a number in square brackets at the end, e.g. [2], [7]? Is this value to be taken into consideration, or ignored?
Also, what version of Excel are you using?
Regards