+ Reply to Thread
Results 1 to 4 of 4

Nested conditional formatting challenge

  1. #1
    Registered User
    Join Date
    02-01-2018
    Location
    London
    MS-Off Ver
    365
    Posts
    2

    Nested conditional formatting challenge

    Hi Everyone,

    Firstly, I'm not sure this is actually possible.

    I'm trying to build a dynamic gantt chart which will automatically populate the shaded boxes with colour based on two cells containing the date range, date from (x) date to (y) (the easy bit).

    The difficulty comes because I'm trying to base the colour of the shaded cell range on a third cell for each row (z). Meaning a project manager could fill in X and Y to get the range, and choose the colour of cell z to dictate the colour of the highlighting/shading on the gantt chart. If it makes it possible, I'm happy to choose to limit the colours from a prearranged range, but if possible, I'd prefer not to.

    Is this possible without using VBA? (Simply because I have zero experience, as do most/all of my PM's.)

    Any help would be really appreciated!

    Thanks again,
    Harry

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Nested conditional formatting challenge

    Hello and welcome to the forum.

    If I am understanding you correctly, you are looking to change the fill color of a cell and have the color of the chart change to the color of that cell?

    You cannot use formulas (and therefore not Conditional Formatting) to copy a cell color. Only VBA can "see" the fill color of a cell.

    This would be possible if, for example, you were to type in "Green", "Red", or "Yellow" into that cell. Then you would need one Conditional Formatting formula per color.

  3. #3
    Registered User
    Join Date
    02-01-2018
    Location
    London
    MS-Off Ver
    365
    Posts
    2

    Re: Nested conditional formatting challenge

    Hi Falcon,

    Thanks for your help. Totally understand in which case, if (z) in my example, were to be a dropdown list of words (say Green, Blue, Red, Grey, Purple) etc, of say 5 colours, could I then have the conditional formatting for the gantt chart pick up the word used and format the cells within the date range? (I hope I understood you correctly).

    If that's the way to go about it, I'm happy to build that in.

    Thanks again,
    Harry

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Nested conditional formatting challenge

    Absolutely. Create a small representative sample of your workbook along with manually filling in the cells that the Conditional Formatting should pick up. I'll get the CF working with multiple colors once I have your layout in front of me.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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. Conditional formatting challenge
    By dalestock2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-15-2017, 12:02 AM
  2. [SOLVED] Nested conditional formatting
    By mrhaugland in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 06-16-2017, 04:38 AM
  3. [SOLVED] Calendar challenge conditional formatting colour
    By tis1337 in forum Excel General
    Replies: 2
    Last Post: 11-11-2012, 01:07 PM
  4. [SOLVED] Conditional Formatting and Vailidation Challenge
    By haleakala17 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-02-2012, 02:56 AM
  5. Conditional Formatting with nested IFs
    By yousafkhan1976 in forum Excel General
    Replies: 4
    Last Post: 03-15-2011, 09:37 PM
  6. Conditional Formatting Nested IF's
    By Sleeper in forum Excel General
    Replies: 3
    Last Post: 09-16-2009, 04:46 PM
  7. [SOLVED] conditional formatting challenge
    By brendan in forum Excel General
    Replies: 2
    Last Post: 10-18-2005, 04:05 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