Does cell contain formula without using UDF

J

James W.

Without using a UDF is there a function you can use to return true if a
formula is in a cell??

Thanks,
 
J

Jason Morin

XLM:

1. Press Ctrl+F3 and define a name "isformula" (no quotes)
as:

=LEFT(GET.FORMULA(INDIRECT("RC[-1]",FALSE)))="="

2. Now call it in a cell like this:

=isformula

Some notes:
1. It will evaulate the cell to the immediate left.
2. It will return TRUE in cases like =7 where an equal
sign is not necessary.
3. There is some risk involved with using this method.
Please read:
http://tinyurl.com/3jsqt

HTH
Jason
Atlanta, GA
 
H

hrlngrv

Jason Morin wrote...
XLM:

1. Press Ctrl+F3 and define a name "isformula" (no quotes)
as:

=LEFT(GET.FORMULA(INDIRECT("RC[-1]",FALSE)))="="
....

In what conceivable alternative universe would this be preferable to
=GET.CELL(48,INDIRECT("RC[-2]",0))

?!
 

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

Top