Results 1 to 6 of 6

Calculate Days Between (DAYS360) Including Start Date

Threaded View

  1. #1
    Registered User
    Join Date
    06-02-2023
    Location
    Evansville, Indiana
    MS-Off Ver
    Office 365
    Posts
    7

    Calculate Days Between (DAYS360) Including Start Date

    Hello,

    I have an inquiry regarding calculating the number of days between two dates, using DAYS360, when all months are assumed to be 30 days. For reference, we bill all months as 30days, 360 days a year. That being said there are a couple exceptions regarding February.

    • If the Start Date <= February 1 and the End Date = February 28, February is considered to have 30 days, plus the number of days from the Start Date, i.e. 1/15/2023 - 2/28/2023 = 46 days, or 2/01/2023 - 2/28/2023 = 30 days.
    • If the Start Date >= February 2 and the End Date is <= February 28 then February is calculated by actual days, i.e. 2/2/2023 - 2/28/2023 = 27 days.
    • If the Start Date = February 28 and the End Date > February 28, then February is considered to have 3 days, plus the number of days until the End Date, i.e. 2/28/2023 - 3/15/2023 = 18 days.

    I have tried using a simple =DAYS360($A2,$B2)+1 but the results vary, depending on the month. 10/01/2022 - 12/31/2022 should be 90 days, but DAYS360 +1 make it 91, whereas 10/01/2022 - 9/30/2023 calculates 359 if I don't put the +1 to include the Start Date.

    Additionally, I have tried using =DAYS360($A2,$B2)+(IF(AND(MONTH($B2)=2,DAY($B2)=28),2,0))+1, which works to an extent, but I run into the same issues described above.

    Any help is greatly appreciated and all notes are contained here and in the spreadsheet.
    Attached Files Attached Files
    Last edited by Sparky156; 07-06-2023 at 03:20 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 10
    Last Post: 02-29-2024, 08:55 AM
  2. Replies: 16
    Last Post: 09-12-2020, 01:32 PM
  3. Replies: 4
    Last Post: 07-24-2017, 03:06 PM
  4. [SOLVED] To calculate number of days including start date
    By gautham_p in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 05-11-2016, 10:47 AM
  5. Replies: 14
    Last Post: 04-06-2015, 09:19 PM
  6. Counting number of days, including start date, without using +1
    By Crappy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-07-2014, 05:05 AM
  7. Calculate End Date Using Start Date and No. of Days excluding specific days.
    By SinusxCosinusx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-22-2013, 05:48 AM

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