Jan 12 2022 02:28 PM
Hi everyone,
I need to create a conditional formatting to cells A21 to A39. I need them to change colors when certain values are entered. I named those values Mylist, but the problem is that these values (list) is on a different worksheet (sheet2). I tried using the =SUM(COUNTIF formula but I can't get it to work. Can anyone help me please.
Thanks,
Ahmed
Jan 12 2022 02:35 PM
Select A21:A39.
A21 should be the active cell in the selection.
On the Home tab of the ribbon, click Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula
=ISNUMBER(MATCH(A21,Mylist,0))
Click Format...
Activate the Fill tab.
Select a highlight color.
Click OK, then click OK again..
Jan 12 2022 03:15 PM
Jan 13 2022 03:19 AM
Does this work?
=ISNUMBER(MATCH(A21,Sheet2!$J$16:$J$24,0))
If not, please attach a sample workbook demonstrating the problem.
Feb 10 2022 11:47 AM