+ Reply to Thread
Results 1 to 2 of 2

Check if dates fall on a given quarter

  1. #1
    Registered User
    Join Date
    08-13-2020
    Location
    Sydney
    MS-Off Ver
    2010
    Posts
    78

    Check if dates fall on a given quarter

    Hi,

    I am looking for some formulas to check if the expenditure values (Col G to N) are on the given period as defined by the start date and the complete date. So, if Feb-18 is the complete date, there should not be any expenditure values after Feb-18 quarter

    On the attached sheet - For delivery, it starts on the Dec-16 So, first value on the Feb-17 quarter is NOT OK as it is intended to have the first value on the period ending Nov-16. However, value on the end of Feb-18 for end is consistent with the complete date so it (Cell L5) is OK. As one value is value the cell P5 should return False

    For finalisation, both Feb-18 and Mar-18 refer to the correct quarter so should be ok. So, P7 should return as true.

    Is there a way to get the formula to return TRUE and FALSE on the column P - cells P5 and P7.
    Attached Files Attached Files
    Last edited by chaliseyp; 02-11-2021 at 10:14 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,921

    Re: Check if dates fall on a given quarter

    You've marked this thread as solved - is it?

    If all of the dates in D and E were real dates, this would work (but they are not - two are just text):

    =COUNTIFS(G5:N5,"",G$1:N$1,">="&D5,G$1:N$1,"<="&E5)=0
    Last edited by AliGW; 02-12-2021 at 02:32 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Code to evaluate a column of dates and change any dates that fall on weekends.
    By dollarbill1979 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2021, 06:05 AM
  2. Check if range of dates fall between two dates
    By Wasilsky in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-14-2017, 08:40 AM
  3. count days that fall within specified quarter from large range
    By amajor99 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-15-2017, 03:39 PM
  4. [SOLVED] Counting Dates that Fall in Specific Quarter
    By tylerf in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-19-2013, 03:30 PM
  5. [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
  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