+ Reply to Thread
Results 1 to 4 of 4

How to subtract two dates to calculate the number of days between them?

  1. #1
    Forum Contributor
    Join Date
    05-01-2014
    Location
    RIX
    MS-Off Ver
    Excel 2003; 2007
    Posts
    114

    How to subtract two dates to calculate the number of days between them?

    Hello!

    I've got two questions concerning dates in excel.

    1) I'd like to have a formula which updates the date every day (shows today's date)

    2) How to subtract two dates to calculate the number of days between them?

    See the file with detailed info. attached.
    Attached Files Attached Files
    Regards

    Arty

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: How to subtract two dates to calculate the number of days between them?

    hi Arty_1,

    formula for C2:
    Please Login or Register  to view this content.
    formula for B2 (dragged down):
    Please Login or Register  to view this content.
    change format for B2:B... to number

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

    Re: How to subtract two dates to calculate the number of days between them?

    In B2 Cell


    =DATEDIF(C2,TODAY(),"D")


    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

  4. #4
    Forum Contributor
    Join Date
    05-01-2014
    Location
    RIX
    MS-Off Ver
    Excel 2003; 2007
    Posts
    114

    Re: How to subtract two dates to calculate the number of days between them?

    So simple as that!

    Thanks guys!

+ 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. Calculate number of days between two dates
    By alexlund in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-29-2014, 05:52 PM
  2. Calculate number of days between 2 dates & then assign a number based on the answer
    By MrHappyGoLucky12 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-27-2014, 09:20 PM
  3. [SOLVED] Subtract Two Dates By The Number of Days, But Only Inlcude Work Days
    By ptho16 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-16-2012, 11:31 AM
  4. calculate number days between dates less Sat and Sun
    By maacmaac in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-26-2010, 11:09 AM
  5. [SOLVED] calculate number of days btw dates
    By Nelson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-01-2006, 09:02 PM

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