convert text to formula

merlin_the_magician

Active Member
Joined
Jul 31, 2002
Messages
480
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? :ROFLMAO:

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

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
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>
 
Upvote 0
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)
 
Upvote 0
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.:p
 
Upvote 0
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.:p


Genius! You saved me HOURS of work. I'll remember this one FOREVER!!!!!
 
Upvote 0
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!
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,008
Members
448,935
Latest member
ijat

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