+ Reply to Thread
Results 1 to 2 of 2

Contitional formatting between two columns - one tests the other

  1. #1
    Registered User
    Join Date
    09-05-2011
    Location
    Laguna Woods, California
    MS-Off Ver
    Mac Excel 2016.76
    Posts
    3

    Contitional formatting between two columns - one tests the other

    Hopefully this is simple. I've used Excel for years but Conditional Formatting continues to elude me.

    We'll be doing a budgeting meeting showing an Excel sheet from my PC projected on a big screen. When a value in a cell is changed one of two colors should appear - Red if higher, Green if lower (if the value is different from the adjacent column) or no change.

    Say the columns are A and B. A is the numeric reference column and B is the column to be modified.

    Initially both columns are equal to each other; column A has a number value; Column B has "=Ax where x is the same row number as A.

    When a number is entered in say B23 the "=A23" is overwritten with a new number - could be higher, lower or the same as in A23. The conditional format in B23 is triggered.

    I've tried the new formatting in Excel 2011 (Mac) where the conditional range is first selected. I understand that the first cell's (B1) conditionals will be used and adjusted for each row in the range, e.g. B23<A23. $ cannot be used in the row specification. [I was thrown off for awhile when I looked at the conditionals in another row in B and saw that the formulas referenced B1.]

    I've tried "Cell Contains" and "Use a Formula to determine which cells to format" without success.

    I have notice that when Cell Contains Equal To is entered as b1, the B becomes capitalized as B1 but not for the b1<a1 or b1>a1 formulas. don't know why. The formula is in error?

    All numbers are using a Custom formatting for dollar signs, e.g., $ 74.0240 (whole numbers) but I suspect that formatting has no influence on conditional formatting, only the values are used.

    see attached snip from my sheet. note hash marks for rows that are different.

    TIA, Mike


    Workbook2.xlsx
    Last edited by mrnoonan; 07-16-2013 at 09:42 PM. Reason: add attachment

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

    Re: Contitional formatting between two columns - one tests the other

    hi mrnoonan, welcome to the forum. i don't have a macbook, so try to find something similar out of this.
    1. you don't have to do a Conditional formatting if they are equals to each other. by default, there will be no colour
    2. your formula shouldn't include the double quotes unless you are doing text comparison.
    3. i don't know what "l3>k3" is supposed to be. i'm guessing your actual data is Column L vs Column K? if so, follow these steps (modify when necessary to work with Mac)
    - select the range you want to apply to (say from B3:B18)
    - go to Home -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    =B3>A3
    Format Red

    Repeat the steps for green but with this formula
    =B3<A3

    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. counting colored cells while using contitional formatting
    By okg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2011, 02:50 PM
  2. [SOLVED] Contitional formatting help
    By Jeff in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-16-2006, 03:40 PM
  3. cannot delete contitional formatting
    By Robert in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-28-2005, 07:05 PM
  4. [SOLVED] Average a group of tests for grade, some tests not taken by all.
    By Scafidel in forum Excel General
    Replies: 4
    Last Post: 08-18-2005, 11:05 PM
  5. [SOLVED] Contitional copying of cells from one tab to another
    By Junkyard Engineer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-18-2005, 06:05 PM

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