+ Reply to Thread
Results 1 to 2 of 2

Sumproduct with count days in range

  1. #1
    Registered User
    Join Date
    02-20-2011
    Location
    Dublin
    MS-Off Ver
    Excel 2007
    Posts
    88

    Question Sumproduct with count days in range

    Hi ,

    Newbie and stuck .. Please help

    I have a date range which I have to check if it is within another date range and if it is count the number of days in the range that fall within that date range ...

    Date range 1
    21/08/10 to 21/10/10

    If this date range 1 above falls within date range 2
    01/03/10 to 31/10/10

    Count how many days in date range 1 fall within date range 2 ...

    This is part one I have a date range 3 also but this is confusing enough for me for now ..

    Can anyone help me ?

    Thanks
    Saz

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Sumproduct with count days in range

    Try this...

    Main date range:
    Please Login or Register  to view this content.

    Test date range:
    Please Login or Register  to view this content.

    This formula returns the number of days from the Test date range
    that occur within the Main date range, inclusive:
    Please Login or Register  to view this content.

    In the above example, the formula returns :62

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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