+ Reply to Thread
Results 1 to 4 of 4

Check a date to find if it falls between a range of dates

  1. #1
    Registered User
    Join Date
    03-21-2014
    Location
    Diss, Norfolk, England
    MS-Off Ver
    Microsoft 365 Excel
    Posts
    57

    Check a date to find if it falls between a range of dates

    Hello again, friends.
    I am looking for a simple formula that checks a range of dates (Start dates in Column A and end dates in Columns B) and matches it against a specified date (eg, C1).
    If the date on C1 matches to a date between the range in columns A and B, then return in D1 a one; otherwise return a zero.
    Struggling with this...
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    04-09-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Check a date to find if it falls between a range of dates

    Hi,

    Try below formula:

    =IF(SUMPRODUCT((C1>=$A$1:$A$6)*(C1<=$B$1:$B$6)),1,0)

  3. #3
    Registered User
    Join Date
    03-21-2014
    Location
    Diss, Norfolk, England
    MS-Off Ver
    Microsoft 365 Excel
    Posts
    57

    Re: Check a date to find if it falls between a range of dates

    You are a star, as always.

  4. #4
    Valued Forum Contributor
    Join Date
    04-09-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Check a date to find if it falls between a range of dates

    Thanks for the feedback. Please mark the thread as SOLVED and click the star of ADD REPUTATION if you feel the solution helped you.

+ 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. Replies: 7
    Last Post: 07-14-2017, 12:04 PM
  2. check whether a date falls in a range
    By RGB in forum Excel General
    Replies: 1
    Last Post: 05-19-2006, 09:20 AM
  3. how to check if date falls within range
    By Bharat Saboo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-30-2005, 06:40 AM
  4. [SOLVED] How to find if a date falls between 2 dates
    By JHL in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-19-2005, 01:50 PM
  5. [SOLVED] Can I check if a date falls between a range then sum other # if tr
    By clovins1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-08-2005, 10:05 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