+ Reply to Thread
Results 1 to 2 of 2

Return True or False if date range falls within current month

  1. #1
    Registered User
    Join Date
    04-17-2013
    Location
    Sacramento, California
    MS-Off Ver
    Excel 2010
    Posts
    1

    Thumbs up Return True or False if date range falls within current month

    I have a simple spreadsheet that has column A as a "From Date" and column B as a "To Date".


    From Date To Date
    03/28/2013 04/04/13
    04/04/2013 04/11/13
    04/11/2013 04/18/13
    04/18/2013 04/25/13
    04/25/2013 05/02/13
    05/02/2013 05/09/13

    In column C, I want to have a formula that returns a true or false if the range falls within the current month.

    Please help.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Return True or False if date range falls within current month

    Hi and welcome to the forum

    Try this in C2, copied down...

    =AND(MONTH(A2)>=MONTH(TODAY()),MONTH(B2)<=MONTH(TODAY()))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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