+ Reply to Thread
Results 1 to 2 of 2

How to determine whether month follows or precedes a set month?

  1. #1
    Registered User
    Join Date
    11-16-2013
    Location
    Belfast
    MS-Off Ver
    Excel 2010
    Posts
    25

    How to determine whether month follows or precedes a set month?

    In cells A1:A12, I have these dates: 03/01/2014, 04/01/2014, 05/01/2014, ... 02/01/2014. In cell E1, I have a "benchmark" date: 11/27/2012. In cells B1:B12, I need a formula to determine if the months in A1:A12 follow or precede the benchmark date (the year/day doesn't matter). B1 through B8 should say "precede" and B9 through B12 should say "follow." If the month in column A is equal to the month of the benchmark date, it should be "follow."

    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,917

    Re: How to determine whether month follows or precedes a set month?

    Maybe...
    =if(A1<$E$1,Precede",Follow")
    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)

Similar Threads

  1. [SOLVED] Determine work days in current month or next month based on day of the month
    By sbrnard in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-29-2014, 05:14 PM
  2. [SOLVED] Counting & summing formula (until last month,this month,until this month..
    By Jhon Mustofa in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-12-2014, 01:14 PM
  3. [SOLVED] Auto instert Month names for This month, Last month and Next month
    By hemal89 in forum Word Programming / VBA / Macros
    Replies: 4
    Last Post: 12-10-2013, 12:01 PM
  4. Replies: 4
    Last Post: 08-09-2006, 09:59 AM
  5. Determine begin month date from month end date.
    By mikeburg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2006, 04:42 PM

Tags for this Thread

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