+ Reply to Thread
Results 1 to 3 of 3

Determine if a certain date is within a range

  1. #1
    Registered User
    Join Date
    06-23-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    70

    Determine if a certain date is within a range

    I saw a formula however it only uses cell number, this is what i saw

    Please Login or Register  to view this content.
    a1 = compare date
    a2 = start date
    a3 = end date

    What im looking for is to insert the date itself not the value of a cell

    a1 = July 15, 2013

    Please Login or Register  to view this content.
    I'm not sure if that's how you should encode it, but it always shows false, even though it should say true since July 15, 2013 is between those dates.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Determine if a certain date is within a range

    2 things,

    it much easier to refer to a cell (your file will get more dynamic)

    you get better help if you add an example of your file, without confidentional information.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Determine if a certain date is within a range

    Better to use cells but if you don't want to use cells try it like this:

    =AND(A1>=DATE(2013,7,1),A1<=DATE(2013,7,30))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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