Conditional Formatting? VBA?

AMANDAJELLIOTT

New Member
Joined
Jul 20, 2021
Messages
6
Office Version
  1. 2013
Platform
  1. Windows
Hi Everyone,

First time poster here, and man do I need some help.

I am working on re-creating an "Activity Workbook" for my team to use at work. The original Workbook was created some years ago by someone who no longer works for my company, and it is in desperate need of updating. No one on my team has felt "Excel savvy" enough to take on the task until I joined the team. I soon realized that MAYBE, quit possibly, this could also be a bit over my head. So please, bare with me as I try to eloquently explain what I've gotten myself into.

For reference, I work in Human Resources, specifically dealing with employee benefits and leaves of absences. When someone is newly hired on, or changes positions, with my company there is a list of tasks that my team needs to perform for that new hire, such as collecting specific insurance enrollment documents, sending out insurance benefit letters and inputting their allotted sick leave hours in our HR management system. This Workbook acts as a check off list for these tasks, along with many others. Within the original Workbook is a sheet dedicated to a list of Actions that my team needs to perform based on whatever event is happening for that certain employee. There is also a master sheet where we can input employee information and select the action from a dropdown list which prompts some cells to be formatted (grey if we do not need to perform that action and color coded if we do). I have had to update the list of Actions and tasks associated with them, as they were very outdated or inaccurate. Now that I have done so, I do not know how to get the conditional formatting back in place that will automatically grey out the cells to the correlating task that does NOT need to be performed. I also don't know if CF is the best way to go about this. I have added some Snippit's of the Workbook to hopefully help my explanation.

Any help is much appreciated!!
 

Attachments

  • Action List.JPG
    Action List.JPG
    167.1 KB · Views: 21
  • Master.JPG
    Master.JPG
    175.2 KB · Views: 22
  • Master with Action Selected.JPG
    Master with Action Selected.JPG
    179.1 KB · Views: 22

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
@AMANDAJELLIOTT Welcome to mrexcel!

I don't think there is an easy fix for this.

Since it appears that there is no sensitive information displayed, can you upload that file somewhere so we have access to it? I often use this link to upload files to temporarily, but any place is fine as long as you provide the link to the file here.

In the 'Action List' sheet, already completed by you, are the actions that should be performed all updated and the actions that do not need to be performed already greyed out?

You are inquiring how to get the 'Master' sheet to reflect those greyed out selections when a particular 'action' is selected?
 
Upvote 0
If I have your sheets right, I might have an easy-ish way to do this. One problem is that an Excel formula (including Conditional Formatting formulas) cannot see cell formatting. But if you use a letter instead in the Actions_Table, like this:

Book2
ABCDEF
1
2
3
4ActionsTask1Task2Task3Task4
5***Enrollments***
6AGG
7BGGG
8C
9DGG
10***CHANGE IN HOURS***
11EGGGG
12F
13GGG
14***CHANGE IN CLASSIFICATION***
15HG
16IG
17JG
Actions_Table


It's a partial section because I had to manually type it in, but I believe the rows/columns match. Then you can use a pretty simple formula on the MASTER sheet like this:

Book2
EFGHI
1Actions to performTask1Task2Task3Task4
2A
3C
4E
5J
6
MASTER
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F:IExpression=INDEX(Actions_Table!C$6:C$100,MATCH($E1,Actions_Table!$B$6:$B$100,0))="G"textNO
 
Upvote 0
@Eric W That is actually similar to what I was contemplating. :) Instead of 'G' though, I was thinking of possibly 'X' or 'NO'. Similar idea though. :) I guess you chose 'G' for Grey?
 
Upvote 0
@AMANDAJELLIOTT Welcome to mrexcel!

I don't think there is an easy fix for this.

Since it appears that there is no sensitive information displayed, can you upload that file somewhere so we have access to it? I often use this link to upload files to temporarily, but any place is fine as long as you provide the link to the file here.

In the 'Action List' sheet, already completed by you, are the actions that should be performed all updated and the actions that do not need to be performed already greyed out?

You are inquiring how to get the 'Master' sheet to reflect those greyed out selections when a particular 'action' is selected?
Thank you!!

I was afraid it would be complicated. I've used the site you recommended and have uploaded the file here. Gofile - Free file sharing and storage platform

I was in the middle of trying the "X" in the box method, to see if that would work. So now, in my actions_list, the actions that DO NOT need to be performed show an "X". When I select an action from the drop down list on the Master sheet, i need the boxes that correlate with the X to grey out, leaving only what needs to be done visible.
 
Upvote 0
@AMANDAJELLIOTT The updated version of your file is here <---.

Thanks to @Eric W for the concept formula that was a few steps ahead of my thinking, but we were headed to the same objective in the end. ;)

Let us know if that works for you.
 
Upvote 0
Solution
I guess you chose 'G' for Grey?
Yep, I had a vague idea of adding other rules if desired, R for red, B for blue, etc. Not really needed in this case.

Definitely some nice teamwork here. Amanda, I'm very glad we could help you out! :biggrin:
 
Upvote 0
Yep, I had a vague idea of adding other rules if desired, R for red, B for blue, etc. Not really needed in this case.

Definitely some nice teamwork here. Amanda, I'm very glad we could help you out! :biggrin:
Absolutely great teamwork, for sure! Thank you both so much!!!
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top