Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Conditional formula - highlight cells not containing formulas

Posted on 2014-02-27
2
Medium Priority
?
368 Views
Last Modified: 2014-02-27
Define Name:
 "CellHasFormula"

formula in the "Refers to" box
 =GET.CELL(48,INDIRECT("rc",FALSE))

apply the conditional formatting - formula:
=CellHasFormula  


The above method provides the means to set a conditional formatting to cells that contain formulas only.  I am looking to do the opposite...for a specific set of cells I want to highlight them if they contain anything but a formula.  This way the user will see right away if he overwrote the formula cell by accident.  Is there away to modify the above method to do this, or is there a completely different approach to this?
0
Comment
Question by:IO_Dork
2 Comments
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 2000 total points
ID: 39893159
Use:

=NOT(GET.CELL(48,INDIRECT("rc",FALSE)))

Kevin
0
 

Author Closing Comment

by:IO_Dork
ID: 39893247
excellent!! thank you.  I did not realize it could be that easy.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question