Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
jhofmann
 
Posts: n/a
Default How can I conditionally format cells that contain formulas?

Is it possible to create a conditional format for a group of cells that would
set a specific backgroup color for cells that contain formulas as opposed to
data?

I have been using "Go To...","Special","Formulas" but would prefer to have
the process happen automatically.

TIF ...
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default How can I conditionally format cells that contain formulas?

Create a UDF and use that in the CF formula


Function IsFormula(rng As Range)
IsFormula = rng.HasFormula
End Function




--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"jhofmann" wrote in message
...
Is it possible to create a conditional format for a group of cells that

would
set a specific backgroup color for cells that contain formulas as opposed

to
data?

I have been using "Go To...","Special","Formulas" but would prefer to have
the process happen automatically.

TIF ...



  #3   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default How can I conditionally format cells that contain formulas?

First enter this tiny UDF:

Function IsFormula(r As Range) As Boolean
IsFormula = r.HasFormula
End Function

Then set Conditional formatting: Formula is:

=(IsFormula(A1))

--
Gary''s Student


"jhofmann" wrote:

Is it possible to create a conditional format for a group of cells that would
set a specific backgroup color for cells that contain formulas as opposed to
data?

I have been using "Go To...","Special","Formulas" but would prefer to have
the process happen automatically.

TIF ...

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy/Paste how to avoid the copy of formula cells w/o calc values Dennis Excel Discussion (Misc queries) 10 March 2nd 06 10:47 PM
converting general cells format to text junkgrrl Excel Discussion (Misc queries) 1 January 12th 06 05:50 PM
Format Cells - Date options Ben Rum Excel Discussion (Misc queries) 1 May 25th 05 05:53 PM
Min/Max formulas using cells with date format WDS2000 Excel Worksheet Functions 1 February 7th 05 06:03 PM
Protected cells -automatically format to a different color Fred Evans Excel Discussion (Misc queries) 9 December 3rd 04 12:59 PM


All times are GMT +1. The time now is 06:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"