Results 1 to 9 of 9

How to calculate and return exact number of days in a month based on criterias

Threaded View

  1. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: How to calculate and return exact number of days in a month based on criterias

    This is working so far.
    Formula: copy to clipboard
    =IF(AND(D6>=$J$5,D6<=$K$5),(EOMONTH(D6,0)-D6+1)*E6*H6/365,
    IF(AND(EDATE(D6,60)>=$J$5,EDATE(D6,60)<=$K$5),E6-(EOMONTH($J$5,-1)+1-D6)*E6*H6/365,
    IF(OR($K$5<D6,$J$5>EDATE(D6,60)),0,DAY($K$5)*E6*H6/365
    )))
    Last edited by FlameRetired; 05-14-2018 at 10:38 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] calculate the number of days in a month through 'Month Name'
    By pipsmultan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-30-2017, 03:10 PM
  2. Replies: 8
    Last Post: 07-22-2016, 02:52 AM
  3. [SOLVED] calculate total number of days between two days based on 365 days year
    By aparunkumar in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-14-2016, 12:51 AM
  4. How to calculate number of days between two dates by month
    By MHayward in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-06-2015, 12:26 PM
  5. Replies: 2
    Last Post: 09-12-2014, 02:21 PM
  6. [SOLVED] Calculate number of days in a month between two dates
    By schlomo87 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-04-2014, 12:32 AM
  7. [SOLVED] Return Column Number Based on Two Criterias
    By taccoo73 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-14-2014, 02:51 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