+ Reply to Thread
Results 1 to 5 of 5

automatically incrementing a conditional formatting

  1. #1
    Registered User
    Join Date
    04-09-2014
    Location
    Tempe, AZ
    MS-Off Ver
    Excel 2007
    Posts
    3

    automatically incrementing a conditional formatting

    I have an excel spreadsheet with a project schedule in it.
    I color the cells in rows for each task.
    I have a task that is dependent upon another task finishing by a certain date.
    I use this formula in conditional formatting to color successive cells in a row showing the delay caused by a task not being completed.
    =$O$12>6
    This is the formula for the first cell.
    The formula for the next cell in the row would be: =$O$12>6+1 and then each cell thereafter increments by 1: =$O$12>6+2,...+3,... etc.
    Is there a faster way to do the conditional formatting in each cell without having to put a new formula in each cell?

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: automatically incrementing a conditional formatting

    =$o$12>6+rows($a$1:a1)-1
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    04-09-2014
    Location
    Tempe, AZ
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: automatically incrementing a conditional formatting

    Thanks for your suggestion.
    I should clarify a little. The subsequent cells will only highlight as the reference task is delayed by another day.
    Cell o13 colors after a delay of a day.
    Cell o14 colors after a delay of a 2nd day, o13 stays colored.
    Cell o15 colors after a delay of a 3rd day, o13, o14 stay colored, etc.

    The formula you gave me causes all of the cells to highlight after a delay of only 1 day.
    I was hoping to be able to copy the formatting and do a paste special, formats to copy the formula and color coding into each cell so that I don't have to manually enter a conditional format into each cell.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: automatically incrementing a conditional formatting

    the formula i gave you works for the limited info you gave post a sample workbook
    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Registered User
    Join Date
    04-09-2014
    Location
    Tempe, AZ
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: automatically incrementing a conditional formatting

    I have uploaded a file with my problem in it.

    Thanks for looking at it.
    Attached Files Attached Files

+ 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: 3
    Last Post: 11-04-2013, 12:47 AM
  2. [SOLVED] Conditional Formatting Not Automatically Changing
    By mubashir aziz in forum Excel General
    Replies: 3
    Last Post: 06-12-2012, 09:03 AM
  3. Automatically copying down Conditional Formatting
    By tomlancaster in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-22-2010, 08:38 AM
  4. [SOLVED] Automatically incrementing number for each print
    By Nefermet in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-03-2005, 11:05 AM
  5. [SOLVED] Conditional Formatting work automatically
    By Tiya in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-17-2005, 09:06 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