Results 1 to 4 of 4

Assistance in updating formula for DATE functions - eg DateValue, Day, etc, for Leap Years

Threaded View

  1. #1
    Registered User
    Join Date
    04-15-2013
    Location
    Australia
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2301 Build 16.0.16026.20002) 64-bit
    Posts
    57

    Assistance in updating formula for DATE functions - eg DateValue, Day, etc, for Leap Years

    To Whom It May Concern

    I write to seek assistance in writing a formula for recognising and adjusting "DATE"-based formulas to include adjustments for Leap Years, please.

    Please find attached an example spreadsheet of how I intend to use it.
    Please note, Sheet Name: "Income & Cash or Debit Expenses", is the PRIMARY sheet; Cell A3, "Home and Utilities Sheet", is LINKED to the previous sheet.

    "(IF(DAY('[Sheet Name]'!$A$3)<>365," etc, this refers to the number of days in a year (obviously); could anyone please show me how to write a formula that will automatically calculate and adjust for "leap years", ie 29 February 2024, 29 February 2028, 29 February 2032, and so on...

    Please ignore:

    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    and

    #REF!

    Thank you, Matthew Hinds.
    Attached Files Attached Files
    Last edited by matthewhinds; 02-20-2023 at 10:54 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA - Updating dates on a spreadsheet but issue with leap years
    By oliverh1993 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-08-2022, 04:45 PM
  2. [SOLVED] How to subtract date while getting output considering leap years
    By jake29 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-06-2021, 02:11 PM
  3. leap years and date calculation
    By Alaxus in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-16-2020, 09:34 AM
  4. [SOLVED] Age based on DOB; Accounts for leap years. Years old if >2, Months if <2 years old.
    By sharpmel in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-17-2013, 04:20 PM
  5. Date Differences and ignoring Leap Years
    By kieran54055 in forum Excel General
    Replies: 2
    Last Post: 09-20-2010, 11:51 AM
  6. Excel =Date and Leap Years
    By thesonofdarwin in forum Excel General
    Replies: 10
    Last Post: 06-15-2010, 03:31 AM
  7. Problem with displaying a date range for leap years
    By Parmo in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-02-2007, 06:27 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