+ Reply to Thread
Results 1 to 5 of 5

Adding Decimals to existing numbers (geographic coordinates)

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    Clovis
    MS-Off Ver
    Excel 2010
    Posts
    3

    Adding Decimals to existing numbers (geographic coordinates)

    I am trying to add xy data into ArcGIS from a list of GNIS coordinates. However, the format of the coordinates are Latitude: 342445 and Longitude -1031236 for about 1000+ coordinates. I need to change the format to: 34.2445 and -103.1236 for all of the coordinates so that the there is a decimal after the first two digits and after the first three digits for long. I have a large dataset with the coordinates, but ArcGIS requires the decimal in order to place on a map.

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,654

    Re: Adding Decimals to existing numbers (geographic coordinates)

    =LEFT(A1,LEN(A1)-4)&"."&RIGHT(A1,4)
    =VALUE(LEFT(A1,LEN(A1)-4)&"."&RIGHT(A1,4))

    Try one of these
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Adding Decimals to existing numbers (geographic coordinates)

    Hi and welcome to the forum

    This is probably way too simplistic, but have you tried...
    =A1/10000
    copied down and across?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    07-24-2013
    Location
    Clovis
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Adding Decimals to existing numbers (geographic coordinates)

    The second formula worked, but I also realized that my data has letters at the end. Is there a batch way to remove letters? Example 344910N convert to 344910 by removing the "N' (north) for a large set of data?

  5. #5
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,654

    Re: Adding Decimals to existing numbers (geographic coordinates)

    =LEFT(A1,LEN(A1)-1)/10000
    Try this one

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] adding decimals or periods to a string of numbers
    By jimmyhamic in forum Excel General
    Replies: 15
    Last Post: 07-27-2012, 07:15 AM
  2. Count geographic coordinates within a range
    By mysterydave in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-13-2009, 07:28 AM
  3. [SOLVED] geographic Coordinates
    By Lman in forum Excel General
    Replies: 1
    Last Post: 01-18-2006, 08:00 PM
  4. [SOLVED] adding new numbers to existing worksheet
    By KwithanE in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-08-2006, 12:42 PM
  5. Replies: 4
    Last Post: 09-27-2005, 02:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1