+ Reply to Thread
Results 1 to 8 of 8

Formula Changes "Time" into "Decimal"

  1. #1
    Registered User
    Join Date
    06-12-2012
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Formula Changes "Time" into "Decimal"

    I am using a formula and I discovered that it automatically changes the times I enter into decimal format - but I want them to remain in "time format." I've attached a file so you can see what I mean.

    Is there a way to keep them in "time" format?
    Attached Files Attached Files

  2. #2
    Forum Contributor tkowal's Avatar
    Join Date
    11-20-2010
    Location
    Miami, Fl
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: Formula Changes "Time" into "Decimal"

    How about:

    ="Course #"&B2&", "&TEXT(C2,"h:mm AM/PM")&", "&"Instructor "&D2&", "&"Lesson "&E2
    Ted
    "Live Long and Prosper"

  3. #3
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Formula Changes "Time" into "Decimal"

    =CONCATENATE("Course #"&B2&" ",TEXT(C2,"h:mm am/pm")&", "&"Instructor "&D2&", "&"Lesson "&E2)
    If I've been of help, please hit the star

  4. #4
    Registered User
    Join Date
    06-12-2012
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Formula Changes "Time" into "Decimal"

    Wonderful!!! Thank you so much!

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Formula Changes "Time" into "Decimal"

    There's no need to use both the concatenate function and the operator, Spencer:

    =CONCATENATE("Course #", B2, TEXT(C2," h:mm am/pm"), ", Instructor ", D2, ", Lesson ", E2)
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Formula Changes "Time" into "Decimal"

    Quote Originally Posted by shg View Post
    There's no need to use both the concatenate function and the operator, Spencer:

    =CONCATENATE("Course #", B2, TEXT(C2," h:mm am/pm"), ", Instructor ", D2, ", Lesson ", E2)
    Oops, my bad!
    I tried it without concatenate and for some reason it didn't work.
    So I put concatenate in and got distracted by the twins so forgot to take the ampersands out before posting.

    (BTW - "distracted by the twins" is not a euphemism! )

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Formula Changes "Time" into "Decimal"

    "distracted by the twins" is not a euphemism!


    I have a daughter hoping for twins -- "One and done!"

  8. #8
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Formula Changes "Time" into "Decimal"

    Worked for me
    Good luck to your daughter. It's hard work!!

+ 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