+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Determine 2 months prior from a date

  1. #1
    Registered User
    Join Date
    11-26-2004
    Location
    Dallas, TX
    MS-Off Ver
    Office 2008 for Mac & Office 2007
    Posts
    17

    Determine 2 months prior from a date

    Hi all,

    I've been trying to determine 2 months prior from a date in a cell entry but have been unsuccessful. Here's what I'm trying to achieve:

    I've got 10 Nov 09 in cell A1. I want it to determine if the date is between (Sep to Nov 09) and display a message ("Item Due") if it matches correctly. It should be able to match the month even if the date is < 31.

    Thanks!

  2. #2
    Registered User
    Join Date
    06-16-2010
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2007
    Posts
    1

    Is there any website for getting trained on Macros 2007

    Hi,

    Is there any website for getting trained on Macros 2007 for free?


    Thanks,
    Shoukat

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Determine 2 months prior from a date

    shoukat, welcome to the forum. Please take a look at the forum rules and then start your own thread.


    Localhost, what ranges are you comparing A1 with? In any case, you can use the Edate() function to subtract or add months and arrive at the correct date.

    For example A1 = 31-Mar-2010 then =EDATE(A1,-1) will return 28-Feb-2010.

+ 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