Cell Color changed based on 2 values

Jesavoy00

New Member
Joined
Oct 19, 2020
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
So i have 2 Tables

Table A, Is a Sign out/In table for computers. This table has 10 columns, from name of computer, serial, whats been signed out, dates, whos signed out and from who, returned date and a notes section.
The notes section i want to be the cell color to be changed by values from Table 2s Status Cell and be corresponding serial number.

Table 2 is the maintenence table, if anything is broken or needs ti be sent to shop or is ready to be picked up the status column, and the same info as table 1.

So i want the serial from table 2 to be matched with serial in table 1, and the color of the notes section or based on the words in table 2 Notes, i want it to change the corresponding lines note sections cell in Table 1.

Yes there's much better ways ti set up info but i dumbed it down A lonnnnnng way for some people.
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
what colours are you using based on the status column of table 2

you could do a countifs() as a conditional format formula

=countifs(column in table 2 with serno, table 1 cell , column in table 2 with status, status value) >0

probably a little more info on the table layouts

Mockup
Book1
ABCDEFG
1TABLE1 - SernoNotesTable 2 sernoStatus
214Broken
328Broken
43
54
65
76
87
98
109
1110
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B:BExpression=COUNTIFS($F:$F,$A1,$G:$G,"broken")>0textNO
 
Upvote 0
im using several colors for, Completed is green, Ticket Needed orange, Need to be picked up is lime, replaced is light blue, Not Done is Red. So whatever status is here, i need the serial number that is in this same row to look for the row in table 1 with the same serial number and change the color of the notes cell to the same color as the status cell in table 2.
 
Upvote 0
just setup a rule for each colour
Rule1
=COUNTIFS($F:$F,$A1,$G:$G,"completed")>0
Green

Rule2
=COUNTIFS($F:$F,$A1,$G:$G,"ticket needed")>0
orange

ETC

Book1
ABCDEFG
1TABLE1 - SernoNotesTable 2 sernoStatus
214Broken
328Broken
432ticket needed
549completed
654ticket needed
763completed
87
98
109
1110
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B:BExpression=COUNTIFS($F:$F,$A1,$G:$G,"completed")>0textNO
B:BExpression=COUNTIFS($F:$F,$A1,$G:$G,"ticket needed")>0textNO
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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