+ Reply to Thread
Results 1 to 2 of 2

Check if range of dates fall between two dates

  1. #1
    Registered User
    Join Date
    11-14-2017
    Location
    Chisinau, Moldova
    MS-Off Ver
    2007
    Posts
    1

    Check if range of dates fall between two dates

    Hello everyone,

    I'm trying a couple of days to solve an issue with my formula and not getting it to the end.

    So, basically what do I need: To check within a range of dates, if the date falls between two dates. If the result is positive, I want excel to write in the cell "Order", if not, leave it blank. As well taking another range in the same formula to check the dates and in case of positive result to write "Home".

    Maximum what I figured out is the following formula:
    =IF(OR($T$3>=AJ1;$T$3<=AK1;$V$3<=AJ1;$V$3>=AK1;$V$3<=AJ1;$X$3>=AK1;$X$3<=AJ1;$Z$3>=AK1;$Z$3<=AJ1;$AB$3>=AK1;$AB$3<=AJ1;$AD$3>=AK1;$AD$3<=AJ1;$AF$3>=AK1;$AF$3<=AJ1);"Order";IF(OR($U$3>=AJ1;$U$3<=AK1;$W$3>=AJ1;$W$3<=AK1;$Y$3>=AJ1;$Y$3<=AK1;$AA$3>=AJ1;$AA$3<=AK1;$AC$3>=AJ1;$AC$3<=AK1;$AE$3>=AJ1;$AE$3<=AK1;$AG$3>=AJ1;$AG$3<=AK1);"Home";" "))

    You can check the picture attached.

    Any suggestion is most welcome.

    ??????????.png

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: Check if range of dates fall between two dates

    Attach a sample workbook (not image).

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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. highlight the dates if it fall under certain range
    By hudson andrew in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-06-2016, 11:25 AM
  2. Check dates in range either same dates or different dates by formula
    By breadwinner in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-12-2013, 07:42 AM
  3. Replies: 6
    Last Post: 03-11-2013, 06:11 PM
  4. [SOLVED] Averaging values if desired dates fall between range of dates
    By gbcpurdue in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2012, 02:51 PM
  5. Need Sumif to count dates that fall within a range of dates
    By Paralegal101 in forum Excel General
    Replies: 1
    Last Post: 09-12-2011, 02:26 PM
  6. check if dates fall within a range
    By mcinnes01 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-28-2011, 01:15 PM
  7. Replies: 2
    Last Post: 07-12-2009, 04:52 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