+ Reply to Thread
Results 1 to 3 of 3

Conditionally apply conditional formatting

  1. #1
    Registered User
    Join Date
    08-09-2017
    Location
    Brisbane
    MS-Off Ver
    Office Home & Business 2016
    Posts
    21

    Conditionally apply conditional formatting

    Hi,

    I have a sheet with data in Columns D to O & P starting from row 12. I want to conditionally format each row for columns D to O with a Green-Yellow-Red colour scale if the value of Column P (same row) is 1, else if the value is zero, no conditional formatting should be applied. I want each row formatted individually & I want the macro to recognise when it has reach the bottom of the sheet (column P will be blank at row 156) and stop running.

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Conditionally apply conditional formatting

    It's probably a language-thing but what's a "Green-Yellow-Red colour scale" ??
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Registered User
    Join Date
    08-09-2017
    Location
    Brisbane
    MS-Off Ver
    Office Home & Business 2016
    Posts
    21

    Re: Conditionally apply conditional formatting

    An option within Conditional Formatting/Color Scales

    Capture2.JPG

    I know how to apply the conditionally formatting.

    I don't know how to write code for Excel to conditionally select Range D12:O12 based on P12, then do the same for rows 13 to 155

+ 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: 1
    Last Post: 10-04-2016, 05:17 AM
  2. Apply Conditional Formatting on Row
    By Naghman in forum Excel General
    Replies: 3
    Last Post: 09-14-2015, 05:56 AM
  3. How can I apply a conditionally formatting rule to an enter column?
    By slkslk in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-19-2013, 06:34 AM
  4. [SOLVED] Want to apply conditional formatting
    By mshtuhin in forum Excel General
    Replies: 5
    Last Post: 07-04-2012, 07:41 AM
  5. Replies: 1
    Last Post: 11-12-2010, 03:18 PM
  6. Replies: 4
    Last Post: 07-30-2010, 09:19 AM
  7. Replies: 2
    Last Post: 09-02-2009, 07:46 AM

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