• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Looking for help on combining data validation and conditional formatting for resource tracking

melanton

New Member
Hello all -
I can't seem to get the right combination of formulas, validation,formatting to work in my spreadsheet.
Here's what I'm trying to do, in text, and I'll provide a sample of the file as well.
My resources work on project sometimes in the field, sometimes remote, or are on training or vacation.
On our current tracker, we list the project, the engineer assigned to it, start and end dates. The rest of the tracker contains columns corresponding to days of the year. As we determine what are the dates for the project, we not only fill in start and end date, but then enter a code into the appropriate date column with an F, R, V, T (Field, Remote, Vacation,Training) and I have conditional formatting set up to automatically color the cell as appropriate to the code (Field is red, Remote is blue, Vacation is purple, Training is brown). This works great and give a great visual representation of how our projects align/overlap and who's where when, but is not elegant/efficient with 20 resources, and multiple projects.

The work in progress worksheet i'm playing with now combines date validation against start and end dates and automatically fills in the cells. The problem is that I lose the detail/conditional color coding formatting of the work code (F,R,V,T).

My working thought is to add a new column to the sheet which is titled "Work Type". In this column, the cells use data validation/drop down list for Field, Remote, Vacation, Training), and then use the conditional formatting in the data columns to color the cells appropriately. It _sort of_ works, but uhhh...not really the way I want.

Apologies for the long email. I wanted to give as much detal as possible, and I wasn't sure how to ask an "easy" question. Can one of you ninjas help me out, please? I'm open to either further help on the solutions I'm working on OR a brand new solution which fixes my problem. Thank you so much in advance!! Melissa
 

Attachments

  • Excel Forum Help.xlsx
    25.9 KB · Views: 7
I would turn this into a tabular data set from your existing matrix format. That would make all of your calculations easier and allow you to use pivot tables for most of what you will need.
 
Is this the kind of thing that may be of value to you?
It calculates the active project days and only allows the user to provide activity codes for those days.

This also tests backward compatibility of a solution developed on Excel with dynamic arrays! If it goes wrong send it to Microsoft :eek:
 

Attachments

  • Conditional formatting and validation (PB).xlsx
    20.5 KB · Views: 4
I have just checked the file on a non-DA version and found a mess :oops:.
The implicit intersection operations between the cell and the column-arrays 'start' and 'end' needed to be removed, instead defining the names to refer to single-cell relative references. A similar redefinition was needed for the row-array 'day'.

I can't really blame Microsoft for the non-compatibility. Using intersection operators within a named formula was clearly a step too far.
 

Attachments

  • Conditional formatting and validation (PB).xlsx
    14.6 KB · Views: 14
Back
Top