hi, I've been giving thought to this but I can't get to a solution. I need a conditional format that changes color of duplicates. I use this formula with one column,
=COUNTIF(A:A;A1)>1
but I need to give it one condition more, I need it to take into account the values in column B and change the color of cells in column A only to the ones that share the same values in A and in B. Example
Column A - Column B
1 - pp
2 - xx
3 - yy
2 - xx
2 - zz
2 - zz
In this case I only need highlighted the cells with 2 - xx (only if they are repeated)
Another thing to consider, The value in B is static, which means only the cells with XX in B that have the same values en A must be highlighted, that's why 2 -zz is repeated but not highlighted. haha Hope I was clear enough.
Thanks for your help.
=COUNTIF(A:A;A1)>1
but I need to give it one condition more, I need it to take into account the values in column B and change the color of cells in column A only to the ones that share the same values in A and in B. Example
Column A - Column B
1 - pp
2 - xx
3 - yy
2 - xx
2 - zz
2 - zz
In this case I only need highlighted the cells with 2 - xx (only if they are repeated)
Another thing to consider, The value in B is static, which means only the cells with XX in B that have the same values en A must be highlighted, that's why 2 -zz is repeated but not highlighted. haha Hope I was clear enough.
Thanks for your help.
Last edited: