Conditional formatting

t1o9n9y1

New Member
Joined
Dec 9, 2018
Messages
19
JOBPERSONISSUE
OneTPKA
OneTPKA
TwoTPKB

<tbody>
</tbody>

Is it possible to change the colour of a cell if the values from both the 'PERSON' and
'ISSUE' columns match up. So because there are now two rows meeting the same criteria,
I want the cell with person in it to change to orange.

I've tried conditional formatting but it seems pretty limited, unless I'm looking at the wrong thing.

Thanks for you help.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
In CF > New rule > Use a formula > Select the format.
=COUNTIFS($A:$A,$A2,$B:$B,$B2)>1
 
Upvote 0
Would it also be possible so that if there is a single duplicate, it'll turn orange. However, if a third duplicate occurs, it'll turn red? Can that be done with this formula?
 
Upvote 0
You need to set 1 rule for each colour, so add another rule with the same formula but change the 1 to 2.
Make sure that the rule for red is above the rule for orange
 
Upvote 0
Okay. I can't quite get the formula to work. That table was just an example and doesn't fully reflect the actual table. So, this is what it currently looks like...
PERSON (G5-G30) ISSUE (I5-P30)

Each cell within the columns have a drop down menu. When the PERSON selection and the ISSUE selection appear together more than once, that's when I want the colour to change.
Would the formula you provided still work?

Thanks so much for your help by the way.
 
Upvote 0
That's more accurate I think. The PERSON column goes from cells G5-G30 and the ISSUE column goes from cells I5-P30.
 
Upvote 0
I can't seem to get MrExcel to work.

The table is identical to this...
... (A4-B30)... (C4-D30)... (E4-F30)Person (G4-H30)Issue (I4-P30)
TPKLate
TPKLate
NDLate
TPKAbsent
NDAbsent

<tbody>
</tbody>


So because the person and issue match in the top two rows, I want that to highlight.
I have been using the duplicate function in conditional formatting, but it seems to only work based on
one column. I want it to read both columns and when the same entries appear in another row, I want it to be highlighted.
 
Upvote 0
That is just confusing me even more :confused:

Is "Person" a single column or 2 columns?
Is "Issue" 1 column or 8 columns?
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,575
Members
449,039
Latest member
Arbind kumar

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