LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how to calculate the difference between two bearings

Thanks, the ABS function is a good solution.

"Stan Brown" wrote:

Mon, 7 May 2007 14:28:01 -0700 from carmanah_bc
:
I have a calculated direction field, which I want to compare to an actual
bearing, and display the results
e.g., calculated 180 degrees, actual -90 degrees: difference is 270 degrees
(absolute) or -90 (relative)


If calculated is in A1 and actual is in A2, then
=abs(A1-A2)
gives the absolute difference.

Are you sure that the relative is -90 degrees? I would have thought
that actual = -90 = 270, so the difference is 270-180 = +90.

Can you post the rules for computing the relative?

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculate difference between two times Ken Excel Worksheet Functions 6 July 21st 06 09:05 PM
Calculate the difference between two times Buffgirl71 Excel Worksheet Functions 3 February 10th 06 12:05 AM
Calculate the difference two times Chi Excel Discussion (Misc queries) 2 July 16th 05 08:31 PM
How do I calculate Time difference from PM to AM JAS123 Excel Discussion (Misc queries) 3 March 12th 05 12:37 PM
Calculate difference between two dates Trainer Excel Worksheet Functions 1 February 11th 05 02:04 PM


All times are GMT +1. The time now is 07:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"