Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how to conditional format a cell if the cell contains a formula (U

I've used this UDF:

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


but I want to highlight several rows and this requires me to do the
conditional formating as formula=formula(cell ref).

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default how to conditional format a cell if the cell contains a formula (U

I want to highlight several rows and this requires me to
do the conditional formating as formula=formula(cell ref).


I interpret that to mean you use the Formula Is option in conditional
formatting. So the correct formula would be:

=IsFormula(cell_ref)

Replacing cell_ref with the appropriate cell address.

--
Biff
Microsoft Excel MVP


"marzomarz" wrote in message
...
I've used this UDF:

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


but I want to highlight several rows and this requires me to do the
conditional formating as formula=formula(cell ref).



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
Conditional format if cell contains formula Jean-Marc Excel Worksheet Functions 15 June 29th 17 05:41 AM
Copy Conditional Format by formula containing cell defined name Carr Excel Discussion (Misc queries) 2 March 18th 09 02:02 AM
conditional format if the cell contains a formula ellebelle Excel Worksheet Functions 6 September 12th 06 09:04 AM
Conditional format if a cell has a formula or if a percent or numb wrightlife11 Excel Discussion (Misc queries) 1 July 12th 06 04:55 AM
How do I do conditional format based on a cell with a formula? Justin Excel Worksheet Functions 9 December 17th 04 02:05 PM


All times are GMT +1. The time now is 11:16 PM.

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

About Us

"It's about Microsoft Excel"