+ Reply to Thread
Results 1 to 2 of 2

Conditional formatting - the value of the cell is not equal

  1. #1
    Registered User
    Join Date
    09-18-2013
    Location
    Tarlac, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    4

    Conditional formatting - the value of the cell is not equal

    Hi there!
    Anyone could help me how to do this.

    If the value of cell is not equal to the value of another cell the font color is red.
    If the value of cell is equal to the value of another cell the font color is green.
    Sample Attached.
    Attached Files Attached Files
    Last edited by pcexgokou; 09-25-2013 at 12:34 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Conditional formatting - the value of the cell is not equal

    welcome to the forum, pcexgokou. select the range you want to apply to (say from B5:C32)
    in Excel 2007 & above, go to Home -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    in Excel 2003, go to Format -> Conditional Formatting -> Formula is:
    =$A5=B5
    format as green font

    repeat the steps & do another formula for the red font:
    =$A5<>$B5

    you can also format all as red font in the beginning. and simply do the first one. when it is equal, it will turn green. otherwise, it will remain as red

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Conditional Formatting if a cell value does not equal 0 or 1
    By dks345 in forum Excel General
    Replies: 2
    Last Post: 01-15-2013, 03:14 PM
  2. If cell is blank then equal (not using conditional formatting)
    By StuartMansfield in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-06-2012, 07:19 AM
  3. Conditional Formatting when cell MAY equal ZERO
    By momo5 in forum Excel General
    Replies: 1
    Last Post: 06-19-2012, 05:19 PM
  4. Replies: 4
    Last Post: 11-24-2010, 12:46 PM
  5. Replies: 3
    Last Post: 11-16-2007, 10:16 AM

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