+ Reply to Thread
Results 1 to 5 of 5

calculate the duration Month wise ( total days in to period wise )

  1. #1
    Registered User
    Join Date
    03-08-2015
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    52

    calculate the duration Month wise ( total days in to period wise )

    Dear Friends,
    I attached the excel file with this

    In column C total duration ( this is total days calculated from B - A )

    In Column D on wards the periods mentioned, if the usage falls on the period mentioned in columns that to be calculated in particular period

    Please check for example in first row I put manual entry

    Finally the value in Column C and Column P should match

    Thanks, Please My description is not so good excuse for that, help me in this regard

    Thanks again
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: calculate the duration Month wise ( total days in to period wise )

    Try this in D4:

    =IF(MIN(D$3,$B4)-MAX(D$2,$A4)+1<0,"",MIN(D$3,$B4)-MAX(D$2,$A4)+1)
    Last edited by 63falcondude; 10-15-2018 at 10:13 AM.

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: calculate the duration Month wise ( total days in to period wise )

    Formula in post #2 can be shortened to this:

    =IFERROR(1/(1/MAX(0,MIN(D$3,$B4)-MAX(D$2,$A4)+1)),"")

  4. #4
    Registered User
    Join Date
    03-08-2015
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    52

    Re: calculate the duration Month wise ( total days in to period wise )

    Thanks a lot genius ...... Thank you very much the problem solved

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: calculate the duration Month wise ( total days in to period wise )

    You're welcome. Happy to help.

+ 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. [SOLVED] Using formulas show the ranking wise top products qty month and status wise
    By Chinnavenky in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-30-2016, 02:01 AM
  2. Show the Month details in row wise based on the Date Duration
    By Kamalakar M in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-12-2016, 10:24 PM
  3. Calculate the number of working days month wise in a given period using VBA
    By rakesh3235 in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 08-21-2014, 07:00 AM
  4. [SOLVED] date wise /name wise total with round function
    By hkbhansali in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-03-2014, 11:37 AM
  5. sum by month wise and staff wise horizontal and vertical
    By cjjimmy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-27-2014, 04:07 AM
  6. [SOLVED] I want change the data row wise to coloum wise & coloumn wise to row wise.
    By satputenandkumar0 in forum Excel General
    Replies: 3
    Last Post: 12-20-2012, 08:34 AM
  7. Supplier Wise month wise totaling
    By Hussain_smh in forum Excel General
    Replies: 3
    Last Post: 02-25-2012, 03:34 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