Sorry Jan, I'm not following you there. I just want my spreadsheet to solve a wind triangle using the cosine rule, given the known vectors of track and distance required, wind, and TAS. But I don't know how to integrate this into a spreadsheet. The layout suits me, but I don't want to have to do a manual calculation. I can't possibly put in a list of waypoints in advance of knowing where I intend to go.