use cell value as an operator in excel 2003 formula

r1998

Board Regular
Joined
Sep 9, 2018
Messages
106
Dear friends and respected seniors,
In excel 2003, i have this data in cells
a1 = 1
b1 = +
c1 = 2
In d1 i want calculation of a1 and b1 and c1, so answer in d3 must be 3, because 1+2=3.
Similarly if value in b1 is -, then d1 must become -1 because 1-2 = -1, but I am not able to do it :(
I tried these 2 formulas in d1, but not getting the answer as 3
Code:
=A1&B1&C1
n then this
Code:
="="&A1&B1&C1
Can anyone please kindly help me.
Awaiting your replies.
Thank you.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hello,

You need to follow a three step process :

1. Create your formula , say in cell D1 :
Code:
=CONCATENATE("=",A1,B1,C1)

2. Then in cell E1, you create a Named range for example result with the formula
Code:
=EVALUATE($D1)

3. And in cell E1, you type in the formula
Code:
=result

Hope this will help
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top