PC Review


Reply
Thread Tools Rate Thread

Cond Format if cell contains Values INSTEAD of a formula

 
 
Finny388
Guest
Posts: n/a
 
      24th Aug 2007
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

 
Reply With Quote
 
 
 
 
=?Utf-8?B?R2FyeScncyBTdHVkZW50?=
Guest
Posts: n/a
 
      24th Aug 2007
First enter this small UDF:

Function formulaa(r As Range) As Integer
formulaa = 1
If r.HasFormula Then
formulaa = 2
End If
End Function


The UDF tells you if a cell has a formula in it or just a value. For
example if A1 contains 3 then
=formulaa(A1) will display 1

If A1 contains
=1+2
then formulaa(A1) will display a 2

To set the Conditional Format for Z100:

Format > Conditional Formatting... > Formula is
=formulaa(Z100)=2
and pick a distinctive format
--
Gary''s Student - gsnu200739


"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
>
>

 
Reply With Quote
 
Finny388
Guest
Posts: n/a
 
      25th Aug 2007
On Aug 24, 1:40 pm, Finny388 <finny...@yahoo.com> 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


Any help would be great. I need a way to highlight a cell if a text
value has replaced the formula - to know alert this value is not the
formula's doing but the users.

Because either a value or the result of a formula is valid, it is just
very important to make them visually distinct.

thanks


 
Reply With Quote
 
Finny388
Guest
Posts: n/a
 
      27th Aug 2007
On Aug 25, 11:24 am, Finny388 <finny...@yahoo.com> wrote:
> On Aug 24, 1:40 pm, Finny388 <finny...@yahoo.com> 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

>
> Any help would be great. I need a way to highlight a cell if a text
> value has replaced the formula - to know alert this value is not the
> formula's doing but the users.
>
> Because either a value or the result of a formula is valid, it is just
> very important to make them visually distinct.
>
> thanks


^

 
Reply With Quote
 
Finny388
Guest
Posts: n/a
 
      27th Aug 2007
On Aug 27, 9:19 am, Finny388 <finny...@yahoo.com> wrote:
> On Aug 25, 11:24 am, Finny388 <finny...@yahoo.com> wrote:
>
>
>
> > On Aug 24, 1:40 pm, Finny388 <finny...@yahoo.com> 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

>
> > Any help would be great. I need a way to highlight a cell if a text
> > value has replaced the formula - to know alert this value is not the
> > formula's doing but the users.

>
> > Because either a value or the result of a formula is valid, it is just
> > very important to make them visually distinct.

>
> > thanks

>
> ^


Impossible?

 
Reply With Quote
 
Finny388
Guest
Posts: n/a
 
      29th Aug 2007
On Aug 27, 12:29 pm, Finny388 <finny...@yahoo.com> wrote:
> On Aug 27, 9:19 am, Finny388 <finny...@yahoo.com> wrote:
>
>
>
> > On Aug 25, 11:24 am, Finny388 <finny...@yahoo.com> wrote:

>
> > > On Aug 24, 1:40 pm, Finny388 <finny...@yahoo.com> 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

>
> > > Any help would be great. I need a way to highlight a cell if a text
> > > value has replaced the formula - to know alert this value is not the
> > > formula's doing but the users.

>
> > > Because either a value or the result of a formula is valid, it is just
> > > very important to make them visually distinct.

>
> > > thanks

>
> > ^

>
> Impossible?


bump

 
Reply With Quote
 
Finny388
Guest
Posts: n/a
 
      30th Aug 2007
On Aug 29, 2:44 pm, Finny388 <finny...@yahoo.com> wrote:
> On Aug 27, 12:29 pm, Finny388 <finny...@yahoo.com> wrote:
>
>
>
> > On Aug 27, 9:19 am, Finny388 <finny...@yahoo.com> wrote:

>
> > > On Aug 25, 11:24 am, Finny388 <finny...@yahoo.com> wrote:

>
> > > > On Aug 24, 1:40 pm, Finny388 <finny...@yahoo.com> 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

>
> > > > Any help would be great. I need a way to highlight a cell if a text
> > > > value has replaced the formula - to know alert this value is not the
> > > > formula's doing but the users.

>
> > > > Because either a value or the result of a formula is valid, it is just
> > > > very important to make them visually distinct.

>
> > > > thanks

>
> > > ^

>
> > Impossible?

>
> bump


bump

 
Reply With Quote
 
Mark Lincoln
Guest
Posts: n/a
 
      30th Aug 2007
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 <finny...@yahoo.com> 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



 
Reply With Quote
 
Finny388
Guest
Posts: n/a
 
      31st Aug 2007
On Aug 30, 11:28 am, Mark Lincoln <mlinc...@earthlink.net> 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 <finny...@yahoo.com> 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!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cond. formatting, based on other cell values? GD Microsoft Excel Misc 3 7th Feb 2009 07:26 PM
Programming Formula for Cond. Format yields different formula =?Utf-8?B?cm9hZGtpbGw=?= Microsoft Excel Programming 8 9th Jul 2007 04:58 PM
How do I use cond format formula to set cell text and color? =?Utf-8?B?c2J3aWxsaWFtcw==?= Microsoft Excel Misc 4 8th Jan 2006 10:20 AM
Re: Cond format formula range location Norman Harker Microsoft Excel Worksheet Functions 0 18th Dec 2003 01:33 PM
Cond. Format Formula Phil Hageman Microsoft Excel Worksheet Functions 1 11th Aug 2003 05:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:27 AM.