+ Reply to Thread
Results 1 to 5 of 5

Complex conditinal formatting

  1. #1
    Registered User
    Join Date
    02-10-2015
    Location
    Macau
    MS-Off Ver
    365
    Posts
    3

    Lightbulb Complex conditinal formatting

    Hello!

    I am looking for some help with formulas to improve conditional formatting of a document based on an excel template of a Gantt chart to follow up on progress of current projects.

    I am trying to create conditional formatting for percentage of completion of actions according to planned and actual start/end dates.

    I have 5 collumns with data:
    [planned start] - [planned end] - [revised start] - [revised end] - [% complete]

    I want last [% complete] column to be formatted according to the dates of start/end
    possible results are:
    - 100% completed with delay - Formatting dark green
    - 100% completed within time - Formatting light green
    - 0% not started, within time - Formatting n/a (or white)
    - 0% not started, delayed - Formatting red
    - other % values (i.e. 10%, 75%) - Formatting graded color scale

    I joined the table to the attachment

    I understand the logic of the formulas, but I don't know how to resolve my issue... So I am looking for your expert advises

    Thank you in advance for your help and time!!!
    Attached Files Attached Files
    Last edited by Lna_; 02-10-2015 at 11:13 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: Complex conditinal formatting

    requires four formulas:

    =and(i4=1,g4>d4)
    =and(i4=1,g4<=d4)
    =and(i4=0,g4<=d4)
    =and(i4=0,g4>d4)

    all applied to $i$4:$i$12 with the formatting in the order you described and "Stop if True" selected as in the attached.
    Hope I could help - if your post has been solved don't forget to mark it as such.

    Clicking the * below is a great way to say thanks!

    "Drowning in 10 feet of water isn?t any different than drowning in a million feet. And if you can swim, it doesn?t matter how deep the ocean is. At some level, once you realize you?re in water that?s too deep to stand, you have to have a very different approach," - Joi Ito

  3. #3
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: Complex conditinal formatting

    i am having some issues... is it attached now?
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-10-2015
    Location
    Macau
    MS-Off Ver
    365
    Posts
    3

    Re: Complex conditinal formatting

    Hello @simarui, Thanks a lot for your reply.

    Your formula is something I was looking for, but there is an error when I try to apply it:
    "this type reference cannot be used in a Conditional Formatting formula. Change the reference to a single cell, or use the reference with a worksheet function, such as =SUM(A1:E5)."

    It seems like Excel will not allow me to use a more complex formula for that... Do you think it will be possible to apply your formulas to a cell X1 in a spread sheet and than get the formatting done according to that cell X1?

    Thank you in advance!

    Kind regards,

  5. #5
    Registered User
    Join Date
    02-10-2015
    Location
    Macau
    MS-Off Ver
    365
    Posts
    3

    Re: Complex conditinal formatting

    Oh, I got your attachement and it works just perfect!

    Thank you very much!!!

+ 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. Conditinal formatting
    By rizmomin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-18-2015, 11:33 AM
  2. [SOLVED] Advanced Conditinal Formatting
    By GaidenFocus in forum Excel General
    Replies: 5
    Last Post: 05-28-2013, 03:39 PM
  3. Conditinal Formatting Due Date
    By Nick.123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-04-2011, 11:41 AM
  4. Conditinal Formatting
    By Tziggy in forum Excel General
    Replies: 4
    Last Post: 12-09-2008, 05:24 AM
  5. Conditinal Formatting Question
    By Paul Cooke in forum Excel General
    Replies: 4
    Last Post: 11-07-2008, 11:21 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