I am currently trying to produce a document which will calculate the errors in our compass systems. This data is taken from carrying out a compass swing and then taking readings from various cardinal points. All is simple in the calculations until passing through north. When calculating deviations between our datum heading and compass heading one result is subtracted from the other (datum – compass). For example:
Datum 359.90°
Compass 000.15°
Deviation -0.25°
We have to input the compass reading as 360.15° because otherwise Excel will return a deviation (or difference) of 359.75° (359.9° – 000.15°) and not
-0.25°. The trouble is 360.15° isn’t a proper compass heading, it should be 000.15°. This needs to work both ways ie, 000.15° – 359.90° returning a positive 0.25° and not a -359.75°. Is there a way of making these calculations in a sort of ‘base 360’ sense?
Another problem I face is that all compass headings we work with are displayed at two decimal places due to the accuracy of our systems. How can I get all compass headings displayed as ###.##? For example:
I would like headings displayed as follows:
000.15°
002.25°
028.30°
060.00°
180.00°
We take readings every 30° from north and we are only normally looking at errors up to about 5° and never more than 10°. Therefore each heading can be looked at individually. For example, at 30° the format will always be 0##.## to return 030.15. The same goes for 60° and 90°. The trouble I face is that if I use a custom number, I lose the opportunity to select how many decimal places I would like. An example of this is the heading 030.00° formatted as 0##.##° will return 030.° and not 030.00°.
I would really appreciate any help on these matters.
Thanks.
Bookmarks