+ Reply to Thread
Results 1 to 3 of 3

how do you display the current date as weeks and days detween 2 dates

  1. #1
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    how do you display the current date as weeks and days detween 2 dates

    Hi,

    I have 2 sets of dates say start date 01/01/13 and end date 04/07/13 I need the amount time elapsed between the two dates as weeks and days (12 weeks 5 days) and display as such, is there a way?

    Thanks in advance.

  2. #2
    Forum Guru Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: how do you display the current date as weeks and days detween 2 dates

    use

    =INT(DATEDIF(A1,A2,"d")/7)&"weeks "&MOD(DATEDIF(A1,A2,"d"),7)&" days"

    where
    A1 is start date
    A2 is end date
    Life's a spreadsheet, Excel!
    Say thanks, Click *

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

    Re: how do you display the current date as weeks and days detween 2 dates

    If 1/1/2013 is in A1 and 4/7/2013 is in B1 then try this:

    =INT((B1-A1)/7)& " Weeks and " & MOD(B1-A1,7) & " Days"

    If you couldn't find the DateDif function either, read this:
    http://chandoo.org/wp/2011/05/16/lost-excel-functions/
    Last edited by MarvinP; 06-16-2013 at 01:38 PM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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