PC Review


Reply
Thread Tools Rate Thread

Converting a GPS waypoint from decimal to degrees, minutes and sec

 
 
Asa_johannesen
Guest
Posts: n/a
 
      17th Dec 2007
Hi.

Can anyone help me? I have a GPS waypoint in decimal, and I need to convert
it to degrees etc. I have a formula I found online, but it doesn't work. I
don't know excel well enough to see where the error is so I'll paste it here.
Either way, if someone knows a formula for doing the conversion, I'd be very
grateful if you could post it here.

DMS = TRUNC(DD)&",d ", &TRUNC((DD-TRUNC(DD))*60)&",m",
&INT(((B6-TRUNC(DD))*60-(TRUNC((DD-TRUNC(DD))*60)))*60*10)/10&",s",,",",)

Thank you.

Asa
 
Reply With Quote
 
 
 
 
Nigel
Guest
Posts: n/a
 
      17th Dec 2007
Are you substituting DD with the cell reference containing the decimal value
or are you naming the cell with the value and calling it DD ?

and the DMS must be referenced as a cell or named range.

This maybe why it does not work?

--

Regards,
Nigel
(E-Mail Removed)



"Asa_johannesen" <(E-Mail Removed)> wrote in message
news:0DD6E1A4-7E35-410D-8F06-(E-Mail Removed)...
> Hi.
>
> Can anyone help me? I have a GPS waypoint in decimal, and I need to
> convert
> it to degrees etc. I have a formula I found online, but it doesn't work. I
> don't know excel well enough to see where the error is so I'll paste it
> here.
> Either way, if someone knows a formula for doing the conversion, I'd be
> very
> grateful if you could post it here.
>
> DMS = TRUNC(DD)&",d ", &TRUNC((DD-TRUNC(DD))*60)&",m",
> &INT(((B6-TRUNC(DD))*60-(TRUNC((DD-TRUNC(DD))*60)))*60*10)/10&",s",,",",)
>
> Thank you.
>
> Asa


 
Reply With Quote
 
Niek Otten
Guest
Posts: n/a
 
      17th Dec 2007
Hi Asa,

Look here:

http://www.cpearson.com/excel/latlong.htm

It's the 4th item

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Asa_johannesen" <(E-Mail Removed)> wrote in message
news:0DD6E1A4-7E35-410D-8F06-(E-Mail Removed)...
| Hi.
|
| Can anyone help me? I have a GPS waypoint in decimal, and I need to convert
| it to degrees etc. I have a formula I found online, but it doesn't work. I
| don't know excel well enough to see where the error is so I'll paste it here.
| Either way, if someone knows a formula for doing the conversion, I'd be very
| grateful if you could post it here.
|
| DMS = TRUNC(DD)&",d ", &TRUNC((DD-TRUNC(DD))*60)&",m",
| &INT(((B6-TRUNC(DD))*60-(TRUNC((DD-TRUNC(DD))*60)))*60*10)/10&",s",,",",)
|
| Thank you.
|
| Asa


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting Decimal Degrees to Degrees/Minutes/Seconds Larry_Klotz Microsoft Excel Worksheet Functions 1 2nd Nov 2009 07:22 PM
Converting Degrees/Minutes/Seconds to Decimal Degrees ankud1@yahoo.com Microsoft Excel Programming 6 12th May 2007 05:28 PM
need to convert decimal degrees to degrees, minutes, hundreds =?Utf-8?B?Rm9ybXVsYSByZXF1ZXN0?= Microsoft Access Queries 1 9th May 2006 01:58 AM
how can i convert degrees/minutes/seconds to decimal degrees? =?Utf-8?B?Q2hyaXNzeQ==?= Microsoft Excel Misc 2 28th Apr 2006 12:14 PM
converting decimal degrees to degrees, minutes, seconds =?Utf-8?B?RGF2ZU4=?= Microsoft Access VBA Modules 3 26th Jul 2005 10:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:48 AM.