I have this formula in one of my worksheets:
=IF(OR(D5=H5,E5=H5,F5=H5,G5=H5,H5=H5,I5=H5),0,"NO")
It's actually even longer and more complicated but this is a good example.
Instead of writing H5 like 5-10 times is there a way to make this easier? Ie if any cell in D5:I5 = H5, 0, else "No"
Thanks!