+ Reply to Thread
Results 1 to 3 of 3

Excel 2002 Condition Formating

  1. #1
    *
    Guest

    Excel 2002 Condition Formating

    I am having a problem with conditional formating.
    I need to change the color of the numeric value to "red" if it is not equal to 490 or 500 or 510 or 520. Have tried various methods but not successful. All numbers in "each" cell turn red whether they are equal to the above values or not.
    Have referenced many excel websites for example/tutorial.
    I need more than 3 conditions though I wonder if it cpould be accomplished with one condition and a formula. I don't want to reference other cells but will if I have to.
    TIA
    Dave

  2. #2
    Debra Dalgleish
    Guest

    Re: Excel 2002 Condition Formating

    List the valid entries on the worksheet, e.g. in cells F1:F4

    Select cell B2
    Choose Format>Conditional Formatting
    From the first dropdown, choose Formula Is
    Enter a formula that refers to you list of numbers, and the active cell:
    =COUNTIF($F$1:F$4,B2)=0
    Click the Format button, and on the Font tab, select the red font colour
    Click OK, click OK

    * wrote:
    > I am having a problem with conditional formating.
    > I need to change the color of the numeric value to "red" if it is not
    > equal to 490 or 500 or 510 or 520. Have tried various methods but not
    > successful. All numbers in "each" cell turn red whether they are equal
    > to the above values or not.
    > Have referenced many excel websites for example/tutorial.
    > I need more than 3 conditions though I wonder if it cpould be
    > accomplished with one condition and a formula. I don't want to
    > reference other cells but will if I have to.
    > TIA
    > Dave



    --
    Debra Dalgleish
    Excel FAQ, Tips & Book List
    http://www.contextures.com/tiptech.html


  3. #3
    Ragdyer
    Guest

    Re: Excel 2002 Condition Formating

    To keep the formatting rules entirely within the Conditional Format formula,
    where the cells to be formatted are A1:A10,

    Select A1 to A10, with A1 the cell in focus (white), then:

    <Format> <ConditionalFormat>,

    Click "Formula Is", and enter this:

    =AND(A1<>490,A1<>500,A1<>510,A1<>520)

    Then click the "Format" button, and you can choose "Bold" and "Red",
    Then <OK> <OK>,
    And you should have what you're looking for.

    For more then 3 conditions, check out John McGimpsey's web site:

    www.mcgimpsey.com/excel/condit*ional6.html

    Or an XL add-in from Bob Philips and the late Frank Kabel:

    http://www.xldynamic.com/source/xld.....Downlaod.html
    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------


    "Debra Dalgleish" <dsd@contexturesXSPAM.com> wrote in message
    news:427E614B.40505@contexturesXSPAM.com...
    > List the valid entries on the worksheet, e.g. in cells F1:F4
    >
    > Select cell B2
    > Choose Format>Conditional Formatting
    > From the first dropdown, choose Formula Is
    > Enter a formula that refers to you list of numbers, and the active cell:
    > =COUNTIF($F$1:F$4,B2)=0
    > Click the Format button, and on the Font tab, select the red font colour
    > Click OK, click OK
    >
    > * wrote:
    > > I am having a problem with conditional formating.
    > > I need to change the color of the numeric value to "red" if it is not
    > > equal to 490 or 500 or 510 or 520. Have tried various methods but not
    > > successful. All numbers in "each" cell turn red whether they are equal
    > > to the above values or not.
    > > Have referenced many excel websites for example/tutorial.
    > > I need more than 3 conditions though I wonder if it cpould be
    > > accomplished with one condition and a formula. I don't want to
    > > reference other cells but will if I have to.
    > > TIA
    > > Dave

    >
    >
    > --
    > Debra Dalgleish
    > Excel FAQ, Tips & Book List
    > http://www.contextures.com/tiptech.html
    >



+ 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