# convert text to formula

#### merlin_the_magician

##### Active Member
Little riddle:

i have a formula that shoud defenately work. Problem: it was put togeter as text and therefore not working.
How can i convert it to a working formula?

Note: i do NOT want to use MOREFUNC !!!

### Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hi,

Just edit the cell & put '='in front of it.

HTH

Alan

Hi!
how about a UDF that do tha same with the Morefunc EVAL() function?
Something like this

<font face=Courier New><SPAN style="color:#00007F">Function</SPAN> MyEval(s)
MyEval = Evaluate(s)
<SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Function</SPAN></FONT>

Huh?? Do you mind telling me a little more on that?
How am i to insert the formulatext in this? It's located in Sheet1!AE1

merlin_the_magician said:
Huh?? Do you mind telling me a little more on that?
How am i to insert the formulatext in this? It's located in Sheet1!AE1

Hi!
if you mean that you have a formula something like this in sheet1 E1
=A1 &"+"& A2
which is text format
then
call the udf Myeval()
=myeval("="&Sheet1!e1)

If you have a formula, say

=VLOOKUP(I2,B2:N2001,11,FALSE)

and it shows up as text in an Excel cell, then you have to go -> Edit->Find->Replace and 'replace' any part of the text with the same thing for instance ',FALSE)' with ',FALSE)' then it will recognise and convert it to a formula.

If you have a formula, say

=VLOOKUP(I2,B2:N2001,11,FALSE)

and it shows up as text in an Excel cell, then you have to go -> Edit->Find->Replace and 'replace' any part of the text with the same thing for instance ',FALSE)' with ',FALSE)' then it will recognise and convert it to a formula.

Genius! You saved me HOURS of work. I'll remember this one FOREVER!!!!!

The solution has saved me hours of work too, Thanks for the great answer.

Genius! You saved me HOURS of work. I'll remember this one FOREVER!!!!!

Genius indeed, this replace all with the same value!! You also saved me hours of work!!! I was about to click, click again and press enter for every formula that I pasted into my worksheet (roughly between 2000 and 3000 formulas and it's getting more). So you saved me between 6000 and 9000 movements! So more importantly you saved me from getting RSI! :D

Thanks tringo007! Loving this forum!

!!!!! thanks!!!!!

Replies
6
Views
132
Replies
1
Views
93
Replies
7
Views
82
Replies
4
Views
116
Replies
2
Views
78

1,206,755
Messages
6,074,754
Members
446,083
Latest member
kfunt

### 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.

### Which adblocker are you using?

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

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