+ Reply to Thread
Results 1 to 5 of 5

Conditional format based on other conditional formats?

  1. #1
    Forum Contributor
    Join Date
    12-19-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    191

    Conditional format based on other conditional formats?

    Hi All,

    I have a sheet that has a bunch of conditionally formatted cells in a row and want to have one cell at the end that goes green if all the preceding cells are a certain format and red if not. Is there a way of doing this without making some kind of convoluted format that just lists all of the requirements for the individual cells before it?

    I have attached an example sheet, I would like G12:G21, U12:U21 and Y12:Y21 to be green if the cells in the block to their left are all green and red if not.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Conditional format based on other conditional formats?

    Hi

    A little ugly but works!

    Look in column g(i manually highlighted the cells with a grey color, just to see the difference easily)

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Conditional format based on other conditional formats?

    try this, using New Rule, Use formula

    Highlight G12:G21
    go into CF
    New Rule/Use Formula
    =AND(COUNT(C12:F12)>0,SUM(C12:F12)>$R$2*COUNT(C10:F10)-SUMPRODUCT(C10:F10*365)).........format fill GREEN

    If you use regular formatting and color all the cells red, you will only need 1 rule here
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    12-19-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: Conditional format based on other conditional formats?

    Thank you, yeah it'll be a slog to update if more columns get added or whatever, but it works!

    Thanks

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Conditional format based on other conditional formats?

    If you add a column and hide it after F, you could include that in my formula, then when you add more columns, add them before the hidden column, and the formula will adjust itself

    Thanks for the feedback, too

+ 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. Custom Number Format can only display 3 Conditional formats using the [ ] parameters
    By Linus100 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-02-2014, 06:57 PM
  2. Replies: 0
    Last Post: 05-20-2011, 02:33 PM
  3. Conditional Format with more than 3 formats, and different criteria per column
    By Grimace in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-04-2010, 06:31 PM
  4. conditional format wont run 2 formats at once
    By jimb0693 in forum Excel General
    Replies: 1
    Last Post: 05-18-2007, 12:19 PM
  5. Change formats based on A:A cell value on each row - (not with conditional format!) ?
    By Marie J-son in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-19-2005, 01:07 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