+ Reply to Thread
Results 1 to 6 of 6

Total monthly cost calculated based on start and end date

  1. #1
    Registered User
    Join Date
    10-01-2018
    Location
    California, USA
    MS-Off Ver
    2010
    Posts
    3

    Total monthly cost calculated based on start and end date

    I'm looking for help with a formula to distribute an amount across the impacted months based on a date range.
    Total Cost is $100,000.00
    Start Date is 1/17/18
    End Date is 4/8/18
    I'd like the formula to consider only working days. Can anyone help with a formula that will tell me how much of the cost will be in Jan vs Feb vs Mar vs Apr?
    Thanks.
    Nadine

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Total monthly cost calculated based on start and end date

    try something like this (as a start)

    =100000/NETWORKDAYS(K2,L2)
    copied across the period

    To give more detailed suggestion (such as determining where to actually start and end calcs), upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-01-2018
    Location
    California, USA
    MS-Off Ver
    2010
    Posts
    3

    Re: Total monthly cost calculated based on start and end date

    I've uploaded my file. I think the formula needs more or else I entered it wrong. Thanks.
    *Forgot to mention that the amounts in yellow in each month are the desired results for the formula.
    Attached Files Attached Files

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

    Re: Total monthly cost calculated based on start and end date

    Try this in E2:

    =MAX(NETWORKDAYS(MAX($B2,E$1),MIN(EOMONTH(E$1,0),$C2)),0)*$D2/NETWORKDAYS($B2,$C2)

  5. #5
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Total monthly cost calculated based on start and end date

    Hi May be this e2=

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Click just below left if it helps, Boo?ath?

  6. #6
    Registered User
    Join Date
    10-01-2018
    Location
    California, USA
    MS-Off Ver
    2010
    Posts
    3

    Re: Total monthly cost calculated based on start and end date

    Thank you Phuocam. This worked.

+ 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 min and if formula I would like to get cost based off of the start and end date.
    By David713 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-27-2017, 03:02 PM
  2. Replies: 2
    Last Post: 03-26-2016, 08:29 PM
  3. Replies: 2
    Last Post: 03-06-2016, 09:22 PM
  4. Replies: 2
    Last Post: 03-06-2016, 11:05 AM
  5. Replies: 3
    Last Post: 03-06-2016, 11:02 AM
  6. Replies: 2
    Last Post: 03-06-2016, 11:02 AM
  7. Replies: 0
    Last Post: 01-28-2014, 07:37 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