+ Reply to Thread
Results 1 to 2 of 2

Leap Year function problem

  1. #1
    Registered User
    Join Date
    01-11-2021
    Location
    Belleville, IL
    MS-Off Ver
    365
    Posts
    1

    Leap Year function problem

    Leap Year function does not work correctly. Simple sheet attatched
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,910

    Re: Leap Year function problem

    Change the formula in A3 to:

    =IF(MONTH(DATE(YEAR(A2),2,29))=2,A2+1,A2)

    Or in A2:

    =EOMONTH(DATE(A1,2,28),0)

+ 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. DateAdd Function affected by leap year
    By yona22 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-25-2020, 01:49 PM
  2. [SOLVED] Auto populate calendar with Leap Year and Non-Leap year.
    By sickreto in forum Excel General
    Replies: 11
    Last Post: 12-05-2019, 01:46 PM
  3. How to check if a year in a cell is a leap year
    By Azuko in forum Excel General
    Replies: 1
    Last Post: 01-27-2014, 03:20 AM
  4. [SOLVED] Date function not accounting for leap year
    By SpencerD1985 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-19-2013, 05:48 AM
  5. Having a problem with my If Leap Year Function
    By Cruse in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-28-2013, 04:12 PM
  6. Difference in dates but leap year problem
    By FCFalkirk in forum Excel General
    Replies: 3
    Last Post: 03-03-2011, 01:57 PM
  7. Leap year date problem
    By peter.thompson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-09-2006, 07:31 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