+ Reply to Thread
Results 1 to 4 of 4

IF(AND) formula with dates working for some months/years but not others

  1. #1
    Registered User
    Join Date
    10-15-2014
    Location
    OR
    MS-Off Ver
    2013
    Posts
    2

    IF(AND) formula with dates working for some months/years but not others

    I'm using a pretty simple IF(AND) formula to produce a code; it should show 1 if a date falls within a range of dates, or 0 if it does not. I have multiple months for multiple years. For some reason, the formula works great for every month in each year, except for September 2013. I've attached my spreadsheet and have highlight the cells where the formula should be producing 0's but is incorrectly producing 1's. Any help would be appreciated!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    227

    Re: IF(AND) formula with dates working for some months/years but not others

    Quote Originally Posted by olivebasil View Post
    I'm using a pretty simple IF(AND) formula to produce a code; it should show 1 if a date falls within a range of dates, or 0 if it does not. I have multiple months for multiple years. For some reason, the formula works great for every month in each year, except for September 2013. I've attached my spreadsheet and have highlight the cells where the formula should be producing 0's but is incorrectly producing 1's. Any help would be appreciated!
    because you put it as Sep 31 but Sep has only 30 days

    change cell O3 to Sep 30
    If I've been of help, plz add reputation.

  3. #3
    Registered User
    Join Date
    10-15-2014
    Location
    OR
    MS-Off Ver
    2013
    Posts
    2

    Re: IF(AND) formula with dates working for some months/years but not others

    Hahaha thank you!

  4. #4
    Forum Contributor
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    227

    Re: IF(AND) formula with dates working for some months/years but not others

    Quote Originally Posted by olivebasil View Post
    Hahaha thank you!
    :P welcome....

+ 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. Replies: 2
    Last Post: 07-22-2014, 02:15 AM
  2. Replies: 8
    Last Post: 02-20-2014, 05:46 PM
  3. Replies: 11
    Last Post: 01-13-2013, 09:40 AM
  4. Years and months between two dates
    By Premmadaan in forum Excel General
    Replies: 2
    Last Post: 08-07-2009, 03:26 AM
  5. Dates - Months & Years
    By Rick in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-23-2005, 12:15 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