Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Conditional Format Based on Formula in Cell

Hello,

I have a problem that I think should be easy to solve but I am
clueless. I have a column of numbers. Some are hard coded and some
are formulas. I would like to conditionally format this column based
on whether or not the cell is a hard code or a formula. Is this easy
to do?

Any help would be greatly appreciated. Thank you

Dan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Conditional Format Based on Formula in Cell

Copy/paste this UDF to general module in your workbook.

Function IsFormula(Cell)
IsFormula = Cell.HasFormula
End Function

CFFormula is: =IsFormula(cellref)


Gord Dibben MS Excel MVP

On Thu, 3 Sep 2009 09:48:08 -0700 (PDT), cardan
wrote:

Hello,

I have a problem that I think should be easy to solve but I am
clueless. I have a column of numbers. Some are hard coded and some
are formulas. I would like to conditionally format this column based
on whether or not the cell is a hard code or a formula. Is this easy
to do?

Any help would be greatly appreciated. Thank you

Dan


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 based on a different cell Ramos Excel Worksheet Functions 3 October 22nd 08 05:36 PM
Conditional Format based on value of another cell [email protected] Excel Worksheet Functions 5 August 7th 08 02:22 PM
Conditional Format a row based on a cell? WRCH5 Excel Worksheet Functions 1 June 18th 07 03:25 AM
Conditional Format based on other cell [email protected] Excel Discussion (Misc queries) 1 March 1st 07 02:16 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 10:41 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"