+ Reply to Thread
Results 1 to 4 of 4

formulas\conditional formating

  1. #1
    scott
    Guest

    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

  2. #2
    Bob Phillips
    Guest

    Re: 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" <scott@discussions.microsoft.com> wrote in message
    news:20144974-95F2-4118-A117-6625C6CA56D7@microsoft.com...
    > 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




  3. #3
    scott
    Guest

    Re: 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" <scott@discussions.microsoft.com> wrote in message
    > news:20144974-95F2-4118-A117-6625C6CA56D7@microsoft.com...
    > > 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

    >
    >
    >


  4. #4
    Bob Phillips
    Guest

    Re: formulas\conditional formating

    In a code module. In Excel, Alt-F11 to the VBIDE, insert a module,
    Insert>Module, 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" <scott@discussions.microsoft.com> wrote in message
    news:30D097FD-1E69-44B6-B148-EDE0CA057BB6@microsoft.com...
    > 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" <scott@discussions.microsoft.com> wrote in message
    > > news:20144974-95F2-4118-A117-6625C6CA56D7@microsoft.com...
    > > > 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

    > >
    > >
    > >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1