Jon von der Heyden
MrExcel MVP, Moderator
- Joined
- Apr 6, 2004
- Messages
- 10,912
- Office Version
- 365
- Platform
- Windows
Hi All
I was trying to see if I could come up with a slick solution to this post.
Using names - e.g. Has_Formula refers to:
=GET.CELL(48,INDIRECT(ROW(),COLUMN(),4))
This should return TRUE if the cell houses a formula, FALSE if it does not.
Now, I have attempted to apply this within validation to stop a user from entering a constant into a cell but it doesn't work (i.e. it does nothing).
E.g: In A1 validation =(Has_formula=TRUE)
I'm intrigued, why doesn't this stop a user from inputting a constant?
Edit: Furthermore I have learned that this does work on conditional format. Bizarre?
Best regards
Jon
I was trying to see if I could come up with a slick solution to this post.
Using names - e.g. Has_Formula refers to:
=GET.CELL(48,INDIRECT(ROW(),COLUMN(),4))
This should return TRUE if the cell houses a formula, FALSE if it does not.
Now, I have attempted to apply this within validation to stop a user from entering a constant into a cell but it doesn't work (i.e. it does nothing).
E.g: In A1 validation =(Has_formula=TRUE)
I'm intrigued, why doesn't this stop a user from inputting a constant?

Edit: Furthermore I have learned that this does work on conditional format. Bizarre?
Best regards
Jon