I have a text written as "12*14" in C4 and and number "1000" in B4. I want to calculate D4 as 1000-12*14
I have tried following, But both are not working here.
B4-NUMBERVALUE(C4)
B4-VALUE(C4)
I have a text written as "12*14" in C4 and and number "1000" in B4. I want to calculate D4 as 1000-12*14
I have tried following, But both are not working here.
B4-NUMBERVALUE(C4)
B4-VALUE(C4)
Hi,
Is this a one-off exercise? Or are you looking for a generalisable solution to apply to equations with different operators, e.g. addition, subtraction, division, etc.?
If C4 always contains the product of two values:
=B4-PRODUCT(0+MID(SUBSTITUTE(C4,"*",REPT(" ",25)),{1,25},25),{1;1})
Regards
Thanks, It worked for me.
You're welcome!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks