BACKGROUND COLOR CHANGE COMPARING RANGE OF CELLS ON DIFFERENT WORKSHEETS

jwest63

New Member
Joined
Jan 24, 2024
Messages
1
Office Version
  1. 365
Hello all

Thanks in advance for your assistance!

I have a workbook with 4 worksheets. The worksheets are:

  • Unexecuted
  • JW
  • MT
  • AR
One worksheet “Unexecuted” is a list of orders awaiting processing. The others are named after employee initials JW, MT, and AR. Each employee worksheet contains catalog numbers assigned to that employee for processing, and each employee worksheet can contain about 60 unique catalog numbers.

The Unexecuted worksheet comes from a report generated in another application and imported into excel. On the Unexecuted sheet, I want to change the background color of cells in column A based on which employee they are assigned to from the employee worksheets..

Contents in column A of their respective worksheets is below. When any of these catalog numbers appear in column A of the Unexecuted worksheet, I want the cell background color, on the Unexecuted sheet, to change. JW-Blue, MT-Pink, AR-Green or whatever colors I ultimately decide on.

JW worksheet
MT worksheet
AR worksheet
BALA00​
BAZA00​
EBDA01​
BANA00​
BBMA00​
EBDA02​
BANB00​
BBMA02​
EBDA05​
BAPA00​
CAAA00​
EBDA06​
BARA00​
CAAA10​
EBDA07​
BARA01​
DBAA06​
EIAA00​
BARA02​
DBAA10​
EIBA00​
BARA03​
DBAA30​
FAZA00​
BARA04​
DBAM00​
FBB900​
BARA05​
DBAN00​
FBDB00​
BARA10​
DBAP01​
FBJA00​
BAZA00​
DBAQ01​
FBNA01​
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
try this:

Columns B,C,D are me just figuring out the CF formula.

1706123155773.png
 
Upvote 0
set up 3 rules and use formulas
=COUNTIF(JW!$A$2:$A$100,A2)>0
=COUNTIF(MT!$A$2:$A$100,A2)>0
=COUNTIF(AR!$A$2:$A$100,A2)>0

cond-frmt-sheets-ETAF.xlsx
A
1Un
2BALA00
3BANA00
4BANB00
5BAPA00
6BARA00
7BAZA00
8BBMA00
9BBMA02
10CAAA00
11CAAA10
12DBAA06
13DBAA10
14DBAA30
15DBAM00
16EBDA06
17EBDA07
18EIAA00
19EIBA00
20FAZA00
21FBB900
22FBDB00
23FBJA00
24FBNA01
25
26
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A100Expression=COUNTIF(AR!$A$2:$A$100,A2)>0textYES
A2:A100Expression=COUNTIF(MT!$A$2:$A$100,A2)>0textNO
A2:A100Expression=COUNTIF(JW!$A$2:$A$100,A2)>0textYES


i have setup a dropbox share with the excel sheet on - will only be on for a few days
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,194
Members
452,616
Latest member
intern444

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