+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting - based on two ranges

  1. #1
    Registered User
    Join Date
    06-14-2017
    Location
    Atlanta,
    MS-Off Ver
    Microsoft Excel 2016 MSO
    Posts
    56

    Conditional Formatting - based on two ranges

    All,

    Got a hopefully fairly easy conditional formatting I'm trying to apply, which is obnoxiously evading me. Here's the scenario.

    I'm trying to apply highlighting to column L based on the following conditions (i.e., highlight if): cell in column L ='s "P" and cell in column I ='s <>"Y".

    Ideally this would be in descending, so it's always looking for descending values, e.g., Highlight L3 if L3 = "P" and I3= <> "Y", Highlight L4 if L4 = "P" and I4 <>"Y", Highlight L5 if L5 ="P" and I5 <>"Y", etc.... into perpetuity (no more than 1000).

    How would I code that?

    Note, sample book attached but been scrubbed for confidentiality purposes. Although the columns are all in the order they should be.

    Thanks in advance.

    J
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,995

    Re: Conditional Formatting - based on two ranges

    Select the range you want to highlight from row 3 down. Then use the CF formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,995

    Re: Conditional Formatting - based on two ranges

    Thanks for the rep.

+ 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. Replies: 5
    Last Post: 09-01-2022, 06:25 PM
  2. Conditional Formatting Based on Date Ranges
    By barryweston in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-21-2020, 12:50 AM
  3. [SOLVED] Conditional Formatting - Based on date ranges
    By Bahal_tb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-22-2017, 09:09 PM
  4. Replies: 4
    Last Post: 01-21-2017, 02:57 PM
  5. Replies: 2
    Last Post: 11-27-2014, 10:31 AM
  6. Replies: 1
    Last Post: 08-20-2012, 10:36 PM
  7. conditional formatting based on 5 named ranges
    By dcgrove in forum Excel General
    Replies: 8
    Last Post: 01-06-2010, 06:10 PM

Tags for this Thread

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