Here is a sample spreadsheet that might help. Column I is the problem, I want it to go from 0 radians to pi and then back down to 0 radians - not 0 radians to pi and then 0 radians to pi again. The simple solution is to manually change it (as I've done in Column J), but this is not ideal as my actual data has thousands of cycles.
Bookmarks