Forum Discussion
Joseph Assaf
Jun 19, 2018Copper Contributor
Comparing two ranges of cells in an if function
I have two rows of address information that I have to compare. If cells A-R in row 2 are identical to cells A-R in row three then I want cell S inn row three two be returned if true and blank if fal...
SergeiBaklan
Jun 19, 2018Diamond Contributor
It could be
=IF(SUMPRODUCT(--($A$2:$R$2<>$A$3:$R$3)),"",S3)
Damien_Rosario
Jun 19, 2018Silver Contributor
SergeiBaklanthat would sure save a lot of typing (learned something new) and good pick up as I forgot to set it to S3!
Cheers
Damien