Converting Concatenated Strings to Formulas

  • Thread starter Thread starter Ecnerlac
  • Start date Start date
E

Ecnerlac

I use concatenation to construct formula that suit particular condition
in one cell. However, when I try to have the results automaticall
converted to a formula by way of a function in another cell I run int
a deadend as there is no appropriate function! I had to resort t
copying each cell, pasting values and then I would have to further hi
F9 to turn the formuals on.

Is there a shorter way
 
Hi
one way would be to use a UDF. Find below a quite simple
version

function eval_it(s_formula)
eval_it = application.evaluate("=" & s_formula)
end function

And use this in one of your cells.
e.g.
=EVAL_IT("A1+B1")
 
Hi Ecnerlac,

I suggest you check out the INDIRECT function, which can take text strings
from other cells and turn them into formulae.

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

How to concatenate text into a formula? 5
Color within Concatenate 2
Concatenate 1
How to concatenate D1:D64? 2
undo concatenated cells 2
undo concatenated cells 1
Concatenate formula 2
Concatenate not working 2

Back
Top