Text Conditional formatting if cell not equal to another

Paul Naylor

Board Regular
Joined
Sep 2, 2016
Messages
98
Office Version
  1. 365
  2. 2003 or older
Platform
  1. Windows
  2. Mobile
  3. Web
Hoping someone can help?

Need to identify some variances in columns of text data . Although multiple columns I don't want to use multiple helper columns and thought easiest & most visually striking way is to use conditional formatting to highlight using a colour any differences in the 2nd column of data.

1st column C3-C47 contains manager call observation results to various questions ( text) and 2nd column G3-G47 contains quality team call observations results to the same set of questions.

All I would like is for any of the answers in the 2nd set of data are not equal to 1st set is for the relevant answer in the 2nd set to be highlighted in a colour.

I've tried to do this with conditional formatting , but all methods I've looked at seem to need an extra column , but with potentially 40 different comparisons spreadsheet will be unusable.

Anyone any ideas of how to do?

E.g. 2 columns of data on call observations answers to a number of questions. One set say in column C is managers observations and 2nd set say in column G is quality teams observations. Need to be able to identify by any differences between the managers observations and
 
Hi Etaf,

Just to put this in context . These are results of call quality checking , with 1st 3 e.g. A,B&C columns the results of manager checks ( call 1,2& 3) and next 3 columns e.g. E,F&G the results of the quality checks on the same 3 calls which is why I'm comparing column A to D, column B to E & Column C to F. In terms of row 33 it's 1 if quality team have marked the same call and 0 if they haven't with formula just filling "--" in the relevant column for non quality teams markings.

what I am looking to be able to do is highlight both manager & quality teams individual answers if different but only if Quality have marked the call as I'm trying to identify variances between manager and quality teams markings, also as an added bonus it would be good if I had an extra row e.g. 34 , which counted the number of variances either by colour or formula?
 
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hi Etaf, just rechecking s/sheet also noticed that there is an extra condition in row 33, the value could also be non-numeric as if only 1 or 2 calls scored by manager the cell could equal "--", not sure if this makes a difference?
 
Upvote 0
OK, I'm following then as follows

A > D
B > E
C > F

so they are compared and all should be the same .

Now we are looking for a 1 in row 33
and only doing the comparison if there is a 1 in the row

So to check A > D then both row33 for A and D need to be 1

=And( A2=D2, A$33=1,D$33=1)

I have set the same rule - BUT for different selections

otherwise we are checking F against I and was not sure how we would highlight F if did not match C when conditional formatting is checking F -

I'm sure can be done with 1 formula - but i could not work it out

so i selected A5:C33
and used
=AND( A5<>D5, A$33=1,D$33=1)

then i selected D5:F33
and used the same formula
=AND( A5<>D5, A$33=1,D$33=1)

that way it only checks the values between A to F

see hat you think


Book1
ABCDEF
1
2
3
4
5YesYesYesYesYesYes
6NoYesYesNoYesYes
7NoYesYesYesYesYes
8YesYesYesYesYesYes
9YesYesYesYesYesYes
10YesYesYesYesYesYes
11YesYesYesYesYesYes
12YesYesYesYesYesYes
13YesYesN/AN/AN/AN/A
14YesYesYesYesYesYes
15YesYesN/AYesYesN/A
16YesYesN/AYesYesN/A
17YesYesYesYesYesYes
18YesYesN/AYesYesN/A
19YesYesN/AYesYesN/A
20N/ANoN/AN/ANoN/A
21YesYesYesYesYesYes
22YesYesN/AN/AN/AN/A
23YesYesYesYesYesYes
24YesYesYesYesYesYes
25YesYesYesYesYesYes
26N/AYesN/AN/AYesN/A
27YesYesYesYesYesYes
28N/AN/AN/AN/AN/AN/A
29YesYesYesYesYesN/A
30GoodGoodGoodGoodGoodGood
3120901009090100
32Not meeting expectationSuccessful PerformanceSuccessful PerformanceSuccessful PerformanceSuccessful PerformanceSuccessful Performance
33111111
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D5:F33Expression=AND( A5<>D5, A$33=1,D$33=1)textNO
A5:C33Expression=AND( A5<>D5, A$33=1,D$33=1)textYES



for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
Conditional Formatting

Highlight applicable range >>
A5:C33 - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
=AND( A5<>D5, A$33=1,D$33=1)

Format [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK

AND THEN
for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
Conditional Formatting

Highlight applicable range >>
D5:F33 - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
=AND( A5<>D5, A$33=1,D$33=1)

Format [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,442
Members
449,083
Latest member
Ava19

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