Search code examples
excelmultiplicationexcel-2016

How to evaluate a formula in Excel cell


I have an excel file which has some multiplication (not the result but the formula) How can I find the result of each, if even possible?

Excel:

5*10
5*3*1
10
20*3*2

Expected output:

50
15
10
120

Here is what I tried:

=MID(A1; 1; FIND("*"; A1) - 1) * MID(A1; FIND("*"; A1) + 1; LEN(A1) - FIND("*"; A1))

This formula is okay for multiplications such as 5*3 but not for the others. I want to accommodate all 3 possible kind of cells.


Solution

  • As stated in my Column, put an = sign in front of them, then, auto-fill the = sign in a secondary column as '=.

    After this, CONCATENATE the two columns.

    Copy all the Concatenation Column, then paste the values...

    Results are as following:

    enter image description here