LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Cond Format if cell contains Values INSTEAD of a formula

On Aug 30, 11:28 am, Mark Lincoln wrote:
You need to add a user defined function to the workbook.

Enter this in a module:

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

Then highlight the cells needing CF, go to Conditional Formatting,
choose "Formula Is" and type in the formula field:

=IsFormula(A1)

...and set your desired format.

(Change A1 in the formula to the upper-left cell of the range you
highlighted.)

Mark Lincoln

On Aug 24, 2:40 pm, Finny388 wrote:

I cannot figure this out no matter what I do
Every formula it try to apply addresses the RESULT of the formula (as
it should) instead of the value.


any solution much appreciated


thanks


Thank you so much! That has been an issue for so long.

Thanks!

 
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
Cond. formatting, based on other cell values? GD Excel Discussion (Misc queries) 3 February 7th 09 07:26 PM
Programming Formula for Cond. Format yields different formula roadkill Excel Programming 8 July 9th 07 04:58 PM
Make the result of a formula red (cannot be done in cond. format.) Susan Renee Excel Discussion (Misc queries) 4 May 11th 06 05:51 PM
How do I use cond format formula to set cell text and color? sbwilliams Excel Discussion (Misc queries) 4 January 8th 06 10:20 AM
Cond. Format & Absolute Cell Reference Question nastech Excel Discussion (Misc queries) 4 November 9th 05 05:02 PM


All times are GMT +1. The time now is 11:53 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"