Conditional Formatting with COUNTIFS

Darren_workforce

Board Regular
Joined
Oct 13, 2022
Messages
128
Office Version
  1. 365
Platform
  1. Windows
I have a file that has 3 sheets: 8-45, 9-15 and 'did not attend'. These reference meeting times since you can't use colons in sheet names.

Within both '8-45' and '9-15' Column A on each has a list of participants who attended the respective Teams meeting.

Within 'Did not attend', Column A has a list of all department employees alphabetically.
I have setup CF to find any names within '8-45' and '9-15' and will shade them (yellow if it matters) along Column A in the 'Did not attend' sheet.

=COUNTIFS('8-45 lineup'!$A$11:$A$150,A1:A100)
=COUNTIFS('9-15 lineup'!$A$11:$A$150,A1:A100)

I was not sure how to setup the formula to reference both sheets at once so I just setup 2 separate CFs. So if is possible to combine both of those into 1 CF formula, I'm open.

My question is: can the formula be adjusted so that instead of highlighting the names it finds in the other 2 sheets, is it possible to highlight any names not found in either of the other 2 sheets? I tried using <>, <=, >= but I have a feeling since the formula references an entire range, maybe those don't work.

Thank you for all help in advance!!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi @Darren_workforce , thanks for posting on the forum.

Assuming the following scenario.
8-45 sheet
Dante Amor
A
11ana
12carlos
13daniel
8-45

9-15 sheet
Dante Amor
A
11gloria
12maría
13raúl
9-15

did not attend sheet
Dante Amor
A
1ana
2carlos
3daniel
4gloria
5laura
6maría
7pedro
8raúl
9sonia
did not attend
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A9Expression=(COUNTIF('8-45'!$A$11:$A$150,$A1)+COUNTIF('9-15'!$A$11:$A$150,$A1))=0textNO


is it possible to highlight any names not found in either of the other 2 sheets?
In the above scenario, laura, pedro and sonia are not on any of the sheets (8-45 and 9-15)


--------------
Let me know the result and I'll get back to you as soon as I can.
Sincerely
Dante Amor
--------------
 
Upvote 0
Solution

Forum statistics

Threads
1,215,140
Messages
6,123,269
Members
449,093
Latest member
Vincent Khandagale

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