+ Reply to Thread
Results 1 to 7 of 7

Formula:add degree sign min sign and sec sign to a cell

  1. #1
    Forum Contributor
    Join Date
    09-25-2011
    Location
    Lenasia, Johannesburg,South Africa
    MS-Off Ver
    Excel 2019
    Posts
    269

    Formula:add degree sign min sign and sec sign to a cell

    Hi

    I have three sets of figures in cols c2 d2 and e2 and I need help with a formula
    that will from these columns and concat into col I2

    tricky part is adding in the symbols for deg min and sec



    Many thanx for all help

    kind regards

    raj
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Formula:add degree sign min sign and sec sign to a cell

    Hi Raj,

    Two different ways:
    1. =C2&CHAR(176)&D2&CHAR(146)&E2&CHAR(148)
    2. =C2&$M$4&D2&$M$6&E2&$M$8
    Degrees Minutes Seconds display.xlsx
    See the attached above:
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula:add degree sign min sign and sec sign to a cell

    Please try at I2
    =TEXTJOIN({"°","’","”"},0,C2:F2)

    or
    =CONCAT(C2,"°",D2,"’",E2,"”")

    of
    =SUMPRODUCT(C2:E2/{24,1440,86400})
    custom format h°m’s”
    Attached Files Attached Files

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Formula:add degree sign min sign and sec sign to a cell

    Hey Bo_Ry,

    In your last SumProduct formula what happens with 100 degrees ?? I like your first two formulas, so the OP has 4 ways to solve his problem.

  5. #5
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula:add degree sign min sign and sec sign to a cell

    Good catch, Marvin

    Custom format for sumproduct should be
    [h]°m’s”

  6. #6
    Forum Contributor
    Join Date
    09-25-2011
    Location
    Lenasia, Johannesburg,South Africa
    MS-Off Ver
    Excel 2019
    Posts
    269

    Re: Formula:add degree sign min sign and sec sign to a cell

    Hi

    Many thanx for the help

    Much appreciated

    Raj

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Formula:add degree sign min sign and sec sign to a cell

    It isn't often I get a chance to find a mistake in your work. I'm still trying to understand some of the correct answers you've given in the past.

+ 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. Replies: 3
    Last Post: 10-08-2019, 12:38 AM
  2. Replies: 2
    Last Post: 10-26-2018, 10:03 AM
  3. Replies: 8
    Last Post: 12-18-2016, 12:43 PM
  4. Replies: 4
    Last Post: 12-18-2016, 12:22 PM
  5. Trying to create Sign in Sign out sheet with time stamp
    By InNeedOfHelp88 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2015, 07:11 PM
  6. [SOLVED] Exclude degree sign
    By hoimae in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-16-2012, 03:18 PM
  7. XL invoice replace the dollar sign with euro sign
    By Pamela casares in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-16-2005, 04:25 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