+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Coloring numbers of a spec value

  1. #1
    Registered User
    Join Date
    08-18-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    1

    Coloring numbers of a spec value

    Hi!
    I want the cell D3 to have red numbers if D3<=B3?

    B3 is a limit we want to have, and in D3 we write the true value.
    If the value we write in D3 is less than the value in B3, the numbers should be red. in otherwise the number should be green.

    I have try a lot of diffrent things :-( and are thanksful for any help...
    /Henrik

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Coloring numbers of a spec value

    Select D3 and go to Home tab, Conditional formatting and select Manage Rules...

    Click New Rule

    Select format only cells that contain

    and then Cell Value >> Less than or equal to >> enter: =B3

    click Format and choose from Font tab.

    Click Ok..

    Click New Rule and repeat above with

    Cell Value Is >> Greater than >> =B3

    and choose from Font tab again
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Coloring numbers of a spec value

    Select Cell D3

    On the home tab, go to conditional formatting, and click new rule.

    Click "use a formula......."

    and enter

    =$D$3<=$B$3

    then set the format to red

    repeat and enter

    =NOT($D$3<=$B$3)

    and set the format to green.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

+ 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