ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   formulas\conditional formating (https://www.excelbanter.com/excel-worksheet-functions/64070-formulas%5Cconditional-formating.html)

scott

formulas\conditional formating
 
In my ss I have a cell say b1 with a formula in it. Under certain conditions
when this cell = another cell I have conditional formating turn the number to
red. This color change indicates that you need to enter in the correct
reading in place of the formula in the same cell. Is there a way that once
the correct number is entered in place of the formula that it will chnage
back to black. The number entered will still equal the other cell but I
thought there may be a way since the formual is missing. Thanks

Scott

Bob Phillips

formulas\conditional formating
 
Add a UDF

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

and than add that in the CF formula

=AND(IsFormula(A10),A10=3)

as an example

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"scott" wrote in message
...
In my ss I have a cell say b1 with a formula in it. Under certain

conditions
when this cell = another cell I have conditional formating turn the number

to
red. This color change indicates that you need to enter in the correct
reading in place of the formula in the same cell. Is there a way that once
the correct number is entered in place of the formula that it will chnage
back to black. The number entered will still equal the other cell but I
thought there may be a way since the formual is missing. Thanks

Scott




scott

formulas\conditional formating
 
Bob

I am not sure I understand. Wher do I put the formula you are suggesting

"Bob Phillips" wrote:

Add a UDF

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

and than add that in the CF formula

=AND(IsFormula(A10),A10=3)

as an example

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"scott" wrote in message
...
In my ss I have a cell say b1 with a formula in it. Under certain

conditions
when this cell = another cell I have conditional formating turn the number

to
red. This color change indicates that you need to enter in the correct
reading in place of the formula in the same cell. Is there a way that once
the correct number is entered in place of the formula that it will chnage
back to black. The number entered will still equal the other cell but I
thought there may be a way since the formual is missing. Thanks

Scott





Bob Phillips

formulas\conditional formating
 
In a code module. In Excel, Alt-F11 to the VBIDE, insert a module,
InsertModule, and paste that code in. Then close the VBIDE and go back to
Excl.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"scott" wrote in message
...
Bob

I am not sure I understand. Wher do I put the formula you are suggesting

"Bob Phillips" wrote:

Add a UDF

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

and than add that in the CF formula

=AND(IsFormula(A10),A10=3)

as an example

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"scott" wrote in message
...
In my ss I have a cell say b1 with a formula in it. Under certain

conditions
when this cell = another cell I have conditional formating turn the

number
to
red. This color change indicates that you need to enter in the correct
reading in place of the formula in the same cell. Is there a way that

once
the correct number is entered in place of the formula that it will

chnage
back to black. The number entered will still equal the other cell but

I
thought there may be a way since the formual is missing. Thanks

Scott








All times are GMT +1. The time now is 02:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com