Hi all,
Please help me create an IF statement to solve the problem I have here. I am given an angle (for interest sake it is a wind direction), say 280 degrees. I then have another angle which might be say 060 degrees.
What I need is a function that can designate "Black" or "Red" determined on what side of the semicircle an angle appears on.
See the picture below as it'll make more sense what I am trying to describe. The angles can all change to be anywhere around the compass, the only constant is that it's always two semicircles.
I'm running into problems as the compass goes around 360 degrees so the heading 050 is actually greater than 359 degrees...
I have tried creating IF statements using the reciprocal of the initial angle but can't make it work perfectly.
Thanks!
Bookmarks