+ Reply to Thread
Results 1 to 3 of 3

Subtracting Dates:

  1. #1
    Forum Contributor
    Join Date
    03-19-2016
    Location
    Chicago, IL
    MS-Off Ver
    Office 2016 Professional
    Posts
    386

    Subtracting Dates:

    Hello,

    I have 2 date fields:

    Column I8: 10/10

    Column I9: 10/17

    In Column I10, I want to subtract the difference in dates (I9 - I8), including only Business Days, and return a value of 5.

    How do I go about doing that?

  2. #2
    Administrator JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Subtracting Dates:

    The function is NETWORKDAYS.

    =NETWORKDAYS(I8, I9)

    The answer is actually 6, there are 6 working days in that range. If you don't want the result to be inclusive, put a -1 at the end.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    2012 for Mac at home
    Posts
    7,084

    Re: Subtracting Dates:

    You could try networkdays =NETWORKDAYS(I8,I9) though that will return 6 instead of 5 as 10/10/2016 is a Monday and so is 10/17/2016 so it will count Monday-Friday as 5 and the add'l Monday as the 6th day.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

+ 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. Subtracting Dates
    By controlfreak in forum Excel General
    Replies: 9
    Last Post: 04-25-2012, 09:22 AM
  2. Subtracting Dates
    By CoachBarker in forum Excel General
    Replies: 8
    Last Post: 04-13-2009, 01:16 PM
  3. subtracting Dates
    By paulrm906 in forum Excel General
    Replies: 3
    Last Post: 11-13-2005, 08:18 AM
  4. Subtracting dates?
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 07:05 AM
  5. Subtracting dates?
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  6. [SOLVED] Subtracting dates?
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  7. Subtracting dates?
    By Bill R in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  8. Subtracting Dates VBA
    By Werner in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-20-2005, 02:04 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