I'm trying to build myself a spreadsheet to assist me with my VFR flight planning, but I've hit a snag that I cannot readily get my head around...
I need to calculate theta, the angular difference between the true course and the wind direction. For us humans, that's pretty easy as we can get our heads around the 001-360-001 thing (so, for a TC of 092 and a wind bearing of 320, theta is 132...) but I'm having trouble expressing it in an Excel formula that gets the right figure 100% of the time.
Anyone feel like jumping in and assisting me?