+ Reply to Thread
Results 1 to 5 of 5

Convert date formula to text?... (1 month and 11 days.. etc)

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Convert date formula to text?... (1 month and 11 days.. etc)

    Hi guys,

    Can anyone help me.. in my spreadsheet (column E) I have a date formula to calculate how long a task has been outstanding since the start date. However, if I want to do a conversion into words i.e. change 32 (column E for example) days into '1 month and 1 day' how do I do this?

    Thank you!

    R.
    Attached Files Attached Files
    Thanks,

    R.



  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Convert date formula to text?... (1 month and 11 days.. etc)

    Good morning rayted

    I would suggest you use the little known and undocumented Excel function "DateDif".
    Chip Pearson provides a good introduction to the feature here.

    HTH

    DominicB

  3. #3
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: Convert date formula to text?... (1 month and 11 days.. etc)

    Ah my reply did not go through!

    Hi DominicB,

    This article certainly seems insightful..

    However, there's a few things I would like to request:

    1) Can I exclude weekdays? (this might be a seperate question!) - all i will require is months and days, not years
    2) As I don't have an end date, I simply need my outstanding date i.e it has been 32 days since the start date, converted into text)

    Can you pls advise?

    Thanks,

    R.
    Last edited by rayted; 05-16-2018 at 03:55 AM.

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Convert date formula to text?... (1 month and 11 days.. etc)

    Hi rayted
    Quote Originally Posted by rayted View Post
    1) Can I exclude weekdays? (this might be a seperate question!) - all i will require is months and days, not years
    Exclude weekdays, or only include weekdays? Either way, I would suggest you use NetworkDays to accomplish this. From the same website, this page documents how to use NetworkDays to calculate differences between two dates.

    Quote Originally Posted by rayted View Post
    2) As I don't have an end date, I simply need my outstanding date i.e it has been 32 days since the start date, converted into text)
    Not quite sure what you're asking here - in your uploaded file you are using the =TODAY() function to grab today's date - isn't that just what you'd use as your end date?

    HTH

    DominicB

  5. #5
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Convert date formula to text?... (1 month and 11 days.. etc)

    This formula will give you difference in month and days

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If you want to exclude week(end)days from the duration than you should not convert that into months as that will be confusing
    as only days and weeks have workdays or workweek counterparts to indicate it will take 1 workweek or 3 workdays

+ 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. [SOLVED] Convert Text Year and Month to Date Format
    By Barieq in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-20-2017, 02:07 AM
  2. [SOLVED] how to convert text number to year month and date
    By leakhna in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2015, 05:19 AM
  3. how to convert the month in a date to the text word for that month
    By sthshrmags in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2014, 03:15 PM
  4. Convert Date (i.e. 8/1/2013) to Text Month (i.e. August)
    By kestefon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-07-2013, 06:42 AM
  5. Date Formula for days of the month, new dates starting on the 2nd of the month.
    By Kenn Jerger in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-04-2013, 01:31 AM
  6. Convert date to month/year text
    By FindAnswers in forum Excel General
    Replies: 2
    Last Post: 11-07-2012, 03:42 PM
  7. Convert text into end of month date
    By freybe06 in forum Excel General
    Replies: 5
    Last Post: 04-11-2011, 03:13 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