Forum Discussion

Inesmateus's avatar
Inesmateus
Copper Contributor
Jan 12, 2021
Solved

Symmetrical values

Hello, I would like to know if there is a way, through formulas or conditional formatting to identify symmetrical values. For instance, 1 and -1, 100 and -100. Calculate the absolute value won't wor...
  • SergeiBaklan's avatar
    SergeiBaklan
    Jan 15, 2021

    Inesmateus 

    It could be 

    =SUM(--(C2=-$C$2:$C$18))*IF(C2>0,COUNTIF($C$2:$C2,C2)=1,1)

    which highlight only FIRST met positive number and ALL symmetric negative numbers for each pair. If only first negative is needed, when instead of IF use only COUYNTIF within it.

Resources