0

I want to have conditional formatting for sheet1 (Columns A-E) in such a way so that cell values which match with the values present in sheet2 (Column A) should be highlighted in red.

I am sharing this example output sheet for your reference.

Please help me out, if it is possible please.

2 Answers 2

2

Use this conditional formatting custom formula rule:

=countif(indirect("sheet2!A2:A"), A2)

See your sample spreadsheet.

Sign up to request clarification or add additional context in comments.

Comments

2

You can't simply refer to other sheet in Google Sheets conditional formatting, trick is to use INDIRECT when referring to other sheets.

Range A2:I20

Formula:

=VLOOKUP(A2,INDIRECT("Sheet2!$A$12:$A$18"),1,FALSE)>0

Or

=COUNTIF(INDIRECT("Sheet2!A11:a18"),A2)

Result: enter image description here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.