+ Reply to Thread
Results 1 to 4 of 4

Cel Formate

Hybrid View

  1. #1
    Registered User
    Join Date
    01-04-2013
    Location
    va
    MS-Off Ver
    Excel 2007
    Posts
    2

    Cel Formate

    I would like to know how to formate a ceel to work with celestrial navigation problems. I would like to have the cell work with deg min and tenths like this 158° 32.9'. I will need to be able to add and subtract and have it return a negative number if possable.Thx

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Cel Formate

    HI addboy,

    Welcome to the forum.
    In custom format you can have degree symbol on the right side as 0.0 "°C" but I dont think you can show the way you written.
    Lets see if any other member shares some solution here.. thanks.

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,918

    Re: Cel Formate

    Another alternative is to use a hidden column with a formula that converts your text string to a number:
    With 158° 32.9' in G1, then:
    Formula: copy to clipboard
    =LEFT(G1,FIND("°",G1)-1)*1+RIGHT(REPLACE(G1,LEN(G1),1,""),5)*1/60
    Ben Van Johnson

  4. #4
    Registered User
    Join Date
    01-04-2013
    Location
    va
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Cel Formate

    Ok then when i work on two cells with is line of code, how do I get it back into the original text format?
    Thx Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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