Forum Discussion

Qkta6667's avatar
Qkta6667
Copper Contributor
May 25, 2020

Calculable Text?

Hi Guys,

 

Is there a possibility to turn the data in book 1 into a calculation?

Example: 

Bourbon Vanilla : Dairy Ice Cream2 x 5 ltr [2]

The 2 x 5ltr should be 2*5ltr 

or

Bloomer : Malted Brown7x900g [7]

The 7x900g should be 7*900g

The Data coming from a third party as it is. 

Any method to make this Text to calculable.

 

Thanks for your time 

Frank 

 

 

 

 

 

 

 

22 Replies

  • Jos_Woolley's avatar
    Jos_Woolley
    Iron Contributor

    Qkta6667 

     

    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

    • Qkta6667's avatar
      Qkta6667
      Copper Contributor
      Hi Jos,
      Both option is acceptable.
      Thanks Frank
      • Jos_Woolley's avatar
        Jos_Woolley
        Iron Contributor

        Qkta6667 

         

        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

Resources