Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Formatting columns for Lat-Long

How do I format a column or cell for entering Latitude & Longitude data.
Most of the data I have is degrees, minutes & seconds "nn°nn.nnn" North
Latitude by "nnn°.nn.nnn" West?
--
Tnx,
Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Formatting columns for Lat-Long

You can format the columns without using programming. Select your column and
click Format/Cells on Excel's menu bar, select Custom from the Category list
and copy/paste the following into the Type field...

[h]°m's\"

You can produce the degree symbol on your own if you would like type the
above in yourself by holding down the Alt key and keying in 0176 on the
Number Pad of your keyboard.

--
Rick (MVP - Excel)


"Mike" wrote in message
...
How do I format a column or cell for entering Latitude & Longitude data.
Most of the data I have is degrees, minutes & seconds "nn°nn.nnn" North
Latitude by "nnn°.nn.nnn" West?
--
Tnx,
Mike


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Formatting columns for Lat-Long

I forgot to mention... your entries will need to be entered as time values;
for example, enter 123°45'56" as 123:45:56.

--
Rick (MVP - Excel)


"Rick Rothstein" wrote in message
...
You can format the columns without using programming. Select your column
and click Format/Cells on Excel's menu bar, select Custom from the
Category list and copy/paste the following into the Type field...

[h]°m's\"

You can produce the degree symbol on your own if you would like type the
above in yourself by holding down the Alt key and keying in 0176 on the
Number Pad of your keyboard.

--
Rick (MVP - Excel)


"Mike" wrote in message
...
How do I format a column or cell for entering Latitude & Longitude data.
Most of the data I have is degrees, minutes & seconds "nn°nn.nnn" North
Latitude by "nnn°.nn.nnn" West?
--
Tnx,
Mike



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Formatting columns for Lat-Long

Copy the line below to Format - Cells - Number - Custom and place line in box
at top of Form.

00°00.000

"Mike" wrote:

How do I format a column or cell for entering Latitude & Longitude data.
Most of the data I have is degrees, minutes & seconds "nn°nn.nnn" North
Latitude by "nnn°.nn.nnn" West?
--
Tnx,
Mike

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Formatting columns for Lat-Long

Select the cell, go to the Edit menu, choose Cells, and then the
Number tab. Select Custom in the list on the left and enter the
following format:

[h]ºmm'ss\"

To get the degree sign, hold down the ALT key and enter 0186 on the
numeric keypad (to the right of the keys, NOT the numbers above the
letters).

Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
The San Diego Project Group, LLC
(email is on the web site)
USA Central Daylight Time (-5:00 GMT)


On Fri, 3 Oct 2008 08:10:02 -0700, Mike
wrote:

How do I format a column or cell for entering Latitude & Longitude data.
Most of the data I have is degrees, minutes & seconds "nn°nn.nnn" North
Latitude by "nnn°.nn.nnn" West?



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Formatting columns for Lat-Long

To get the degree sign, hold down the ALT key and enter 0186 on the
numeric keypad (to the right of the keys, NOT the numbers above the
letters).


Hmm! I posted the same message as you did, but I instructed the OP to use
Alt+0176 instead of Alt+0186. They both look like degree symbols to me, but
one seems to display the circle a little higher up than the other. Do you
know what (beside the height thing) is the difference between these two
symbols? Is one of them a degree sign and the other a something else (and if
a something else, what)?

--
Rick (MVP - Excel)

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Formatting columns for Lat-Long

I've always used Alt+0176. The other always seemed to make too small a
circle.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Rick Rothstein" wrote in message
...
To get the degree sign, hold down the ALT key and enter 0186 on the
numeric keypad (to the right of the keys, NOT the numbers above the
letters).


Hmm! I posted the same message as you did, but I instructed the OP to use
Alt+0176 instead of Alt+0186. They both look like degree symbols to me,
but one seems to display the circle a little higher up than the other. Do
you know what (beside the height thing) is the difference between these
two symbols? Is one of them a degree sign and the other a something else
(and if a something else, what)?

--
Rick (MVP - Excel)



  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Formatting columns for Lat-Long

Your comment prompted me to test both of them side by side. Actually,
Alt+0186 makes the larger circle (I bumped the font size up to 48 to examine
them); that is the difference I didn't notice earlier... one is not higher
than the other, only larger (the top of both symbols are located at the same
height position; it was the size difference that made one look like it was
higher than the other one).

As it turns out, though, neither one of them is exactly the right one to
use.<g The symbol produced from Alt+0176 is the same height as the
apostrophe and quote mark symbols, but its line thickness is just ever so
slightly little thinner than them. On the other hand, the symbol produced
from Alt+186 is larger than the apostrophe and quote mark (about 25% so) and
its line thickness is just ever so slightly heavier. At normal font sizes, I
kind of think Alt+0176 looks a little bit better (but that is a highly
subjective opinion).

--
Rick (MVP - Excel)


"Jon Peltier" wrote in message
...
I've always used Alt+0176. The other always seemed to make too small a
circle.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Rick Rothstein" wrote in message
...
To get the degree sign, hold down the ALT key and enter 0186 on the
numeric keypad (to the right of the keys, NOT the numbers above the
letters).


Hmm! I posted the same message as you did, but I instructed the OP to use
Alt+0176 instead of Alt+0186. They both look like degree symbols to me,
but one seems to display the circle a little higher up than the other. Do
you know what (beside the height thing) is the difference between these
two symbols? Is one of them a degree sign and the other a something else
(and if a something else, what)?

--
Rick (MVP - Excel)




  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Formatting columns for Lat-Long

Rick -

It was a long time ago I settled on 0176, so I don't recall the details. I
was probably using a different font, one I never use anymore, and I'm sure
that also makes a difference.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Rick Rothstein" wrote in message
...
Your comment prompted me to test both of them side by side. Actually,
Alt+0186 makes the larger circle (I bumped the font size up to 48 to
examine them); that is the difference I didn't notice earlier... one is
not higher than the other, only larger (the top of both symbols are
located at the same height position; it was the size difference that made
one look like it was higher than the other one).

As it turns out, though, neither one of them is exactly the right one to
use.<g The symbol produced from Alt+0176 is the same height as the
apostrophe and quote mark symbols, but its line thickness is just ever so
slightly little thinner than them. On the other hand, the symbol produced
from Alt+186 is larger than the apostrophe and quote mark (about 25% so)
and its line thickness is just ever so slightly heavier. At normal font
sizes, I kind of think Alt+0176 looks a little bit better (but that is a
highly subjective opinion).

--
Rick (MVP - Excel)


"Jon Peltier" wrote in message
...
I've always used Alt+0176. The other always seemed to make too small a
circle.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Rick Rothstein" wrote in message
...
To get the degree sign, hold down the ALT key and enter 0186 on the
numeric keypad (to the right of the keys, NOT the numbers above the
letters).

Hmm! I posted the same message as you did, but I instructed the OP to
use Alt+0176 instead of Alt+0186. They both look like degree symbols to
me, but one seems to display the circle a little higher up than the
other. Do you know what (beside the height thing) is the difference
between these two symbols? Is one of them a degree sign and the other a
something else (and if a something else, what)?

--
Rick (MVP - Excel)






  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Formatting columns for Lat-Long

Yeah, that's a good point... I only looked at Arial font.

--
Rick (MVP - Excel)


"Jon Peltier" wrote in message
...
Rick -

It was a long time ago I settled on 0176, so I don't recall the details. I
was probably using a different font, one I never use anymore, and I'm sure
that also makes a difference.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Rick Rothstein" wrote in message
...
Your comment prompted me to test both of them side by side. Actually,
Alt+0186 makes the larger circle (I bumped the font size up to 48 to
examine them); that is the difference I didn't notice earlier... one is
not higher than the other, only larger (the top of both symbols are
located at the same height position; it was the size difference that made
one look like it was higher than the other one).

As it turns out, though, neither one of them is exactly the right one to
use.<g The symbol produced from Alt+0176 is the same height as the
apostrophe and quote mark symbols, but its line thickness is just ever so
slightly little thinner than them. On the other hand, the symbol produced
from Alt+186 is larger than the apostrophe and quote mark (about 25% so)
and its line thickness is just ever so slightly heavier. At normal font
sizes, I kind of think Alt+0176 looks a little bit better (but that is a
highly subjective opinion).

--
Rick (MVP - Excel)


"Jon Peltier" wrote in message
...
I've always used Alt+0176. The other always seemed to make too small a
circle.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Rick Rothstein" wrote in message
...
To get the degree sign, hold down the ALT key and enter 0186 on the
numeric keypad (to the right of the keys, NOT the numbers above the
letters).

Hmm! I posted the same message as you did, but I instructed the OP to
use Alt+0176 instead of Alt+0186. They both look like degree symbols to
me, but one seems to display the circle a little higher up than the
other. Do you know what (beside the height thing) is the difference
between these two symbols? Is one of them a degree sign and the other a
something else (and if a something else, what)?

--
Rick (MVP - Excel)






Reply
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
http://CannotDeleteFile.net - Cannot Delete File? Try Long Path ToolFilename is too long? Computer Complaining Your Filename Is Too Long? TheLong Path Tool Can Help While most people can go about their businessblissfully unaware of the Windo Max Loger Excel Discussion (Misc queries) 0 June 14th 11 04:30 PM
putting 2 long columns into multiple columns in excel page and sor bob_mhc Excel Discussion (Misc queries) 1 April 25th 08 07:51 AM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 2 July 31st 06 09:45 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 0 July 31st 06 05:07 PM
Make 2 long columns into 8 shorter columns Mike Fogleman Excel Programming 1 December 23rd 03 04:58 AM


All times are GMT +1. The time now is 11:56 AM.

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

About Us

"It's about Microsoft Excel"