I need to evaluate two columns in which I need a simple outcome. If both numbers in a row are positive or both are negative, output needs to be YES. If one number is positive and the other is negative, output needs to be NO. See example attached. I manually entered the output here but need to figure out the excel formula for several hundred rows. TIA!
10.74 | 11.35 | Yes |
-17.43 | 41.03 | No |
3.57 | 39.74 | Yes |
-70.88 | 24.92 | No |
25.62 | -56.26 | No |
11.44 | 20.42 | Yes |
-10 | -18.39 | Yes |
14.69 | 40.73 | Yes |
-132.2 | 43.24 | No |
2.72 | -20.19 | No |
-10.05 | 42.39 | No |
32.15 | 4.98 | Yes |
17.46 | 35.12 | Yes |
58.06 | 1.26 | Yes |