+ Reply to Thread
Results 1 to 10 of 10

Convert Text Dates & Time to Values?

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,059

    Question Convert Text Dates & Time to Values?

    Hi,

    I have the following:

    Entry Date To Be Billed Hrs
    18 Sep 2012 08:00
    Cells: E5 F5

    They were exported out of a system & now are text. I'm looking to compile the data, by weeks & a basic sum function is not recognizing, which I'm assuming is because these are text files.


    How can put a function or two off into another column to get numerical values in which I can sum up?

    Thanks
    MyCon
    -- Using Latest Version of Excel

  2. #2
    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: Convert Text Dates & Time to Values?

    its hard to see from your post what part is in which cell?
    Entry Date To Be Billed Hrs
    18 Sep 2012 08:00
    Cells: E5 F5
    Entry Date To Be ...Billed Hrs
    18 Sep 2012... 08:00
    Cells: E5... F5
    like that?
    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

  3. #3
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,059

    Re: Convert Text Dates & Time to Values?

    Hi

    In Cell E5, has: 18 Sep 2012
    Cell F5, has: 08:00

    Thanks

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

    Re: Convert Text Dates & Time to Values?

    Hi MyCon,

    Try multiplying these Text date and Hrs with 1. Type 1 some where copy that, now select data and time columns, paste special -> values and multiply -> enter.

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

  5. #5
    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: Convert Text Dates & Time to Values?

    try...
    =datevalue(E5)
    =timevalue(F5)

  6. #6
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,059

    Re: Convert Text Dates & Time to Values?

    Hi FDbbins,

    Your functions works great!

    Hi dilipandey,

    Your suggestion also works.

    Now, some of my hour totals have triple digits, such as: 300:00 hours.

    I thought I could simply change the time format to use something like: [h]:mm, but this doesn't seem to work. How to get this corrected?

    Thanks again everyone for your assistance.

  7. #7
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Convert Text Dates & Time to Values?

    you also try the text-to-column-> delimeted -> there are options there for General ,date ,etc.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

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

    Re: Convert Text Dates & Time to Values?

    Hi MyCon,
    I thought I could simply change the time format to use something like: [h]:mm
    It may be happening because of [h]:mm only.. try change time format to hh:mm if you are sure that value is not text

    Regards,
    DILIPandey
    <click on below * if this helps>

  9. #9
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,059

    Re: Convert Text Dates & Time to Values?

    Hi,

    Tried, hh:mm & [hh]:mm & neither works.

    I have some instances, where there's 1000+ hours & this total needs to be shown.

    Is there another suggested format option?

    Thanks

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Convert Text Dates & Time to Values?

    It should work

    It's hard to suggest something without seeing the data in excel otherwise the conversation will get lengthier by thinking about the possibilities.

    Please add the sample data in excel and your expected output and attach it here for better understanding.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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