I am trying to write an if statement to check 4 numbers to see if they are greater than or equal to each other.
A. B. C. D
11 22. 10. 15
27. 50. 40. 50
So far I got if(and(a1>=d1,b1>=d1),"red",if(or(a1>=c1,b1>=c1,((b1-a1)*a1))
But when I copy the code to the second line, I need it to say red but the calculations still shows up since b1>=c1.
Can anyone help me please
Bookmarks