Change sheet2 column A red if the text appears in sheet1 column A

bino1121

New Member
Joined
Apr 26, 2023
Messages
14
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
  6. 2011
  7. 2010
  8. 2007
Platform
  1. Windows
looking for a formula or conditional formatting so that if the text building1 shows up on sheet1 then the value on sheet2 that is building1 changes red

conversely, if the text on sheet1 does not show up in the column A on sheet2 (building1 is not on sheet1 but is on sheet2) then the color changes to green.

Example 1A&B

1683639287190.png
1683639324875.png


Example 2A&B

1683639369355.png
1683639400555.png
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hello @bino1121 , thanks for posting on MrExcel Board.

The conditional format goes on the sheets "EX1B" and "EX2B"

Example 1:
Dante Amor
A
1building1
2building3
3building5
EX1A

Dante Amor
A
1building1
2building2
3building3
4building4
5building5
EX1B
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A5Expression=COUNTIF(EX1A!$A:$A,$A1)textNO


-----
Example 2:
Dante Amor
A
1building1
2building2
3building3
EX2A

Dante Amor
A
1building3
2building4
3building5
EX2B
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A3Expression=COUNTIF(EX2A!$A:$A,$A1)=0textNO



--------------
Let me know the result and I'll get back to you as soon as I can.
Sincerely
Dante Amor
--------------
 
Upvote 0
Hello @bino1121 , thanks for posting on MrExcel Board.

The conditional format goes on the sheets "EX1B" and "EX2B"

Example 1:
Dante Amor
A
1building1
2building3
3building5
EX1A

Dante Amor
A
1building1
2building2
3building3
4building4
5building5
EX1B
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A5Expression=COUNTIF(EX1A!$A:$A,$A1)textNO


-----
Example 2:
Dante Amor
A
1building1
2building2
3building3
EX2A

Dante Amor
A
1building3
2building4
3building5
EX2B
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A3Expression=COUNTIF(EX2A!$A:$A,$A1)=0textNO



--------------
Let me know the result and I'll get back to you as soon as I can.
Sincerely
Dante Amor
--------------
I'm confused on how you set this up? I tried it in my conditional formatting and it didn't work?
 
Upvote 0

Forum statistics

Threads
1,215,362
Messages
6,124,502
Members
449,166
Latest member
hokjock

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