+ Reply to Thread
Results 1 to 3 of 3

Conditional formatting adjoining columns confused

  1. #1
    Registered User
    Join Date
    01-22-2016
    Location
    Toronto, Ontario, Canada
    MS-Off Ver
    MS 2013
    Posts
    2

    Question Conditional formatting adjoining columns confused

    Hullo.

    I am trying to get some conditional formatting worked out for a table. here is a sample:

    Lic % Oper % License vs. Operating
    62% 62% 38%
    128% 114%
    94% 89% 11%
    52% 104% 48%



    What I want is for the sheet to look at the value of the Oper % column first. If this value is less than 100%, then in the License vs operating % column return the difference from 100% as red cell with black font. If the Oper % is over 100%, then look at the Lic % and if this is under 100%, then return in the License vs operating column the difference form 100% as a blue cell with black letters. If both Lic% and Oper % are over 100%, then the third column is left blank.

    I tried going with the formula =IF(N117<100%, 100%-N117, IF(M117<100%, 100%-M117)) where N is the column for the Oper% and M is the Lic % column.
    Then I split it up into two separate rules; ="if n<100%, 100%-n" and then followed by ="if m<100%, 100%-m" with different formats for each rule.

    When I try to apply these to the license vs operating column, even just a small sample of it, I get nothing.

    I am overlooking something but am confused as I am not very experienced at this functionality.

    Any help is appreciated.

    Thanks in advance
    Last edited by greggie69; 01-22-2016 at 06:06 PM. Reason: added table for clarity

  2. #2
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Conditional formatting adjoining columns confused

    Hi Greggie,

    You are on the right track with splitting the CF.

    Try =AND(N2>100%,M2<100%) for the Blue cells
    and =N2<100% for the Red cells.

    Something like this:

    greggie - Cond Fmt Example.xlsx


    I hope this helps, please let me know!

    Regards,

    David


    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".


  3. #3
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Conditional formatting adjoining columns confused

    Dup post in error
    Last edited by David A Coop; 01-22-2016 at 09:14 PM.

+ 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. Conditional Format on adjoining columns
    By reddaze in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-13-2015, 03:51 AM
  2. [SOLVED] Is it possible to use Application.Index to write 2 adjoining columns in one go?
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-13-2013, 07:11 AM
  3. Replies: 1
    Last Post: 10-03-2012, 10:32 PM
  4. [SOLVED] Macro executes but not giving results :confused::confused::confused:
    By Ganesh7299 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2012, 10:49 AM
  5. Comparing Adjoining Cells- Conditional Formatting
    By lamkoid in forum Excel General
    Replies: 8
    Last Post: 09-19-2009, 06:09 PM
  6. Excel Align equal values in adjoining Columns
    By egan-23 in forum Excel General
    Replies: 2
    Last Post: 09-13-2006, 12:28 PM
  7. [SOLVED] How do I get the MAX value of adjoining columns then SUM range?
    By Dorothy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-04-2006, 02:20 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