+ Reply to Thread
Results 1 to 6 of 6

how to convert string into readable format for =DATEVALUE?

  1. #1
    Forum Contributor
    Join Date
    09-23-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    187

    how to convert string into readable format for =DATEVALUE?

    Hi all,

    please view attached workbook to understand what i'm talking about!
    Sample Workbook.xlsx

    I imported billing dates into my master file (column B), using logic in excel I broke up the string of the billing period to properly identify the Start and End dates. Now I would like to convert these strings in columns D and E into actual recognized dates in Excel so I can reference these dates in =netwokringdays and other formulas. I tried using the =DATEVALUE function but it returns a #VALUE error. I am not sure why because the format mm/dd/yyyy is one that the function should recognize.

    can someone tell me how to convert columns D and E into Excel Dates using a formula, not manually? maybe it is the syntax that is wrong? maybe there is another formula that can be used? I am really stuck here and could use any help appreciate your time guys

    incase you can't open the file here is a capture of the worksheet
    Capture.PNG
    Last edited by lougs7; 10-15-2015 at 03:55 PM.

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: how to convert string into readable format for =DATEVALUE?

    It appears as though Excel is already recognizing the values you have in columns D and E as dates. This:

    Please Login or Register  to view this content.
    entered into F3 returns 10, which is the number of network days between the two specified dates.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Forum Contributor
    Join Date
    09-23-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    187

    Re: how to convert string into readable format for =DATEVALUE?

    I am getting the #VALUE when I try this.... I really don't know why I am always getting #value by doing this, I am going to try opening this file on another computer. Could it be something in the setting or anything? anytime I try touching these dates using readable format it doesn't work but I check online and it is supposed to work

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: how to convert string into readable format for =DATEVALUE?

    You can convert all the dates in column B to real dates, separated into columns by selecting the dates from B2:B1211 then click on the Data Tab, Text to Columns, choose Fixed Width, click next, Delete the arrow between Final and Invoice, click Next, Select the first column in the window and select Date MDY, select the next column, click on Do Not Import, click on the next column and click on Date MDY, click on Finish.

    Result all real dates:
    B
    C
    D
    2
    Billing Period
    3
    19/10/2014 01/11/2014 (Final Invoice)
    4
    19/10/2014 01/11/2014 (Final Invoice)
    5
    19/10/2014 01/11/2014 (Final Invoice)
    6
    19/10/2014 01/11/2014 (Final Invoice)
    7
    19/10/2014 01/11/2014 (Final Invoice)
    8
    19/10/2014 01/11/2014 (Final Invoice)
    9
    19/10/2014 01/11/2014 (Final Invoice)
    10
    19/10/2014 01/11/2014 (Final Invoice)
    11
    19/10/2014 01/11/2014 (Final Invoice)
    12
    19/10/2014 01/11/2014 (Final Invoice)
    13
    19/10/2014 01/11/2014 (Final Invoice)
    14
    19/10/2014 01/11/2014 (Final Invoice)
    15
    19/10/2014 01/11/2014 (Final Invoice)
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Forum Contributor
    Join Date
    09-23-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    187

    Re: how to convert string into readable format for =DATEVALUE?

    Turns out its my computer at work, I just tried now from home and im no longer getting an error. this is very strange at work my spreadsheet will say #VALUE in columns F & G all the way down

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: how to convert string into readable format for =DATEVALUE?

    Mine gives the same error. The easy way I find is to use the Text to Columns and it rarely gives me trouble in converting dates when written in the way displayed in the example and I like not having formulae to make the conversion.

+ 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-15-2015, 03:52 PM
  2. [SOLVED] How to convert to a readable table
    By Manena in forum Excel General
    Replies: 7
    Last Post: 09-17-2015, 06:10 PM
  3. How to convert a string (other than english) to UTF-8 format
    By surya4969 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2014, 08:12 AM
  4. [SOLVED] Excel date format convert to string format
    By man in forum Excel General
    Replies: 1
    Last Post: 08-17-2006, 05:05 AM
  5. [SOLVED] how do I convert utc to a readable time format?
    By Jon in forum Excel General
    Replies: 2
    Last Post: 06-08-2006, 09:45 AM
  6. [SOLVED] Convert Unix timestamp to Readable Date/time
    By Emily in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-26-2006, 08:00 PM
  7. Can i convert numbers into string format?
    By talia_k in forum Excel General
    Replies: 3
    Last Post: 04-28-2005, 11:06 AM

Tags for this Thread

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