+ Reply to Thread
Results 1 to 4 of 4

Conditional Formating based on different cell

  1. #1
    Registered User
    Join Date
    02-23-2007
    Posts
    1

    Conditional Formating based on different cell

    Hello,

    sorry for the post - problem solved!

    nikoky
    Last edited by nikoky; 02-23-2007 at 01:56 PM.

  2. #2
    Registered User
    Join Date
    12-18-2003
    Location
    Missouri
    Posts
    62
    Nikoky,
    How???

    I was ready to post the exact same question -

    I want to change the color of two cells (D4:E4) according to how the content of another cell (C4) compares to the contents of yet another cell (D3).
    How?
    Thanks!

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    If you have two numbers, say 5 in cell C4, and 2 in cell D3, you can do the following conditional format:

    Select both cells you want to conditionally format (D4:E4, in this case) then click Format --> Conditional Formatting

    In the Condition 1, change 'Cell Value Is' to 'Formula Is'. In the text box just right of that, type the following formula:

    =$C$4>$D$3

    (I used a greater than comparison here, but you can use =, <=, >=, etc..) If you don't put the $ in like shown, the conditional formula will only work properly in the first cell in your selected range (D4). After that, the conditional formula for E4 would become "=D4>E3".

    Next click the Format.. button and change the font color, size, background color (whatever) to how you want it to appear when your condition is met.

    Click OK, and you should be set!
    Last edited by Paul; 02-23-2007 at 10:59 PM.

  4. #4
    Registered User
    Join Date
    12-18-2003
    Location
    Missouri
    Posts
    62
    Thank you!
    That works fine.
    Alex

+ 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