how to insert a formula?
A1 = 80 x 120
In B1 try the formula
=LEFT(A1,SEARCH("x",A1)-1)*MID(A1,SEARCH("x",A1)+1,10)
OR Try this UDF (User Defined function). From workbook launch VBE using
Alt+F11. From menu Insert a Module and paste the below function.Close and get
back to workbook and try the below formula.
=evaltext(A1)
Function EvalText(strData As String) As Variant
EvalText = Evaluate(Replace(strData, "x", "*", 1, 1, vbTextCompare))
End Function
If this post helps click Yes
---------------
Jacob Skaria
"JoeF" wrote:
Hi: I have a collumn of #s such as 80 x 120 and 65 x 100, etc. I need the
actual product of them. I have replaced the "x" with "*" but cannot get the
"=" inserted. Can you suggest somethiong?
|