+ Reply to Thread
Results 1 to 4 of 4

How to set cell color based on several factors - help appreciated

  1. #1
    Registered User
    Join Date
    04-23-2019
    Location
    Norwegen
    MS-Off Ver
    2010
    Posts
    12

    Unhappy How to set cell color based on several factors - help appreciated

    Hi

    I have tried for many hours before reaching out to this forum, please help me out.
    I am trying to map skills for resources in the company, and I had made a small version of the sheet I am working on which is uploaded here.

    I got the main function to work:
    -E4 → choose your name
    -E5 → Choose your position
    The cells which need input for your main skills are colored white (using conditional formatting)

    Now here comes the issue:
    For a position there are expected secondary skills, for instance, an instrument engineer shall have knowledge of electrical engineer tasks and QHSE engineer tasks.
    For a piping engineer the secondary skills would be structural and mechanical engineer skills (excluded from the attached sheet).
    And so on.

    When E5 = "Instrument Engineer" then Excel should look at the skill matrix for what the secondary skill(s) is for an instrument engineer. In this example this would be two secondary: QHSE engineer and electrical engineer.
    (The same goes for tertiary skills)
    Then excel shall color the cells representing secondary skills e.g. gray (any color really), and color the tertiary skills another color.
    That way when a person clicks his own name and his own position (E4 & E5) in this large sheet with many names and many skills, it will be much easier to see where his input is needed.

    This is useful for identifying which resources can be used for alternative work, vacation planning as to always have the right skill available during vacation times, see where more training is needed, evaluate who to promote, and show people what they should learn if they want to go one way or another.

    Help is appreciated!
    Attached Files Attached Files

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: How to set cell color based on several factors - help appreciated

    Please try this CF-rule applies to $J$7:$P$34:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-23-2019
    Location
    Norwegen
    MS-Off Ver
    2010
    Posts
    12

    Re: How to set cell color based on several factors - help appreciated

    Hi Hans
    Thank you, your solution worked just as I wanted it to. It was a clever solution to use countifs.
    Happy new year

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: How to set cell color based on several factors - help appreciated

    You are Welcome!

    Thanks for the feedback and rep .

    Glad to have helped.

+ 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. [SOLVED] How to make cells automatically change color based on a couple different factors
    By Lojinxx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2020, 07:40 PM
  2. Change cell format (cell color+font color) based on color of another cell
    By Dedaluss in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-30-2017, 03:27 AM
  3. VBA to Change cell colors based on several factors/worksheet
    By kcgojnur in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-02-2017, 10:01 AM
  4. [SOLVED] Using CF to format a cell based on two factors
    By jimboryan in forum Excel General
    Replies: 4
    Last Post: 11-06-2015, 04:19 PM
  5. Macro to change cell text color based on darkness of cell fill color
    By cincyshirm61 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-25-2014, 12:11 PM
  6. Replies: 6
    Last Post: 07-31-2009, 10:58 AM
  7. Replies: 3
    Last Post: 11-29-2006, 04:50 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