Conditional Formatting Issue

Fudging

New Member
Joined
Aug 26, 2022
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Hello,

I am trying to figure out a way to work conditional formatting in my specific case. In one tab, I have a table that contains a column with number IDs and there is another column in that table that indicates if the project is complete. In the second tab, we have the same table, just without the column that indicates if the project is complete. What I am trying to do is the following: in tab 2, I want to change the cell color in the number IDs if in tab 1, the project is complete.

As you can see in the picture, the Tab 1 table highlights all cells in orange if the project is complete, pretty easy conditional formatting. Again, what I would like to do, assuming that the Tab 2 table was in a different tab, is to highlight the project IDs in that same color, if the project is complete according to the Tab 1 table.

I was wondering if this is possible with regular conditional formatting or does this need to be done in VBA?
(If it does require VBA, the color code is 255, 192, 0)

Thanks for the help :)

Cond. Format. Issue.png
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
You can use Conditional Formatting just fine.

Let's say that the data on a sheet named "Tab 1" is in the range A1:H12 (where row 1 is the header, and your IDs are in column H).
And let's say that the data on a sheet named "Tab 2" is in the range A1:G12 (where row 1 is the header, and your IDs are in column G).

Then select rows 2:12 on Tab 2 and enter this Conditional Formatting formula:
Excel Formula:
=COUNTIFS('Tab 1'!$H:$H,$G2,'Tab 1'!$A:$A,"Yes")>0
and choose your desired color.
 
Upvote 0
Solution
You are welcome.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,279
Members
449,075
Latest member
staticfluids

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