Function to determine whether cell contains a formula?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All,

Is there a function (eg, in the form of =ISFORMULA(_)) that will return a
code if a cell contains a formula as opposed to a blank or a text or value?
 
Hi Don:

Remember, without any custom functions, you can locate all cells containing
formulae and count them:

first set the status bar to COUNT
next:
Edit > Goto > Special > formulas
 
Gary's Student,

Thanks! I should have been more specific about my use. I am trying to set
up a spreadsheet to project due dates for activities that are calculated.
Once the activity is completed, the user would enter a date into the field
(replacing the calculation). I want to use conditional formatting to color
the cells differently based upon whether a date is projected (eg, calculated
with a formula) or actual (based upon a value being present in the cell). I
think that the other reply will help, although I haven't been able to get it
to work yet.
 
Dave,

Thanks! I think that this will work, although I haven't been able to get it
to take yet in VBA programming (since I know next to nothing about VBA
programming!). However it is a good start and with a little tinkering it
looks as if it will do exactly what I want.

Thanks!
 
Back
Top