A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
=COUNTIF($C2:$H2,C2)+COUNTIF($L2:$Q2,C2)=2
That doesn't make really a sense, since the criteria in C2 is ALWAYS found in $C2:$H2
If you want to check that you have only one occurrence in C2:H2 and one in L2:Q2
R2: =AND(COUNTIF($C2:$H2,C2)=1,COUNTIF($L2:$Q2,C2)=1)
.
If you want to check if the positions match use
R2: =COUNTIFS(C2:H2,C2,L2:Q2,C2)=1
.
Combine them if you want to check both
R2: =AND(COUNTIF($C2:$H2,C2)=1,COUNTIF($L2:$Q2,C2)=1,COUNTIFS(C2:H2,C2,L2:Q2,C2)=1)
.
Andreas.