+ Reply to Thread
Results 1 to 4 of 4

Using a Formula To Determine A Task's Cost Allocation Per Week Based On a Date Range

  1. #1
    Registered User
    Join Date
    06-22-2020
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2016
    Posts
    14

    Using a Formula To Determine A Task's Cost Allocation Per Week Based On a Date Range

    Hello Everyone,

    I need help generating a formula that can do the following:

    Determine how many task working days (Mon-Fri) there are given a task's start and end date. Out of those days, determine how many of those days there are in a designated week's date range, if any. Then take the task's budgeted cost and divide it by the total number of working days and multiply the cost per day by the designated number of working days in the corresponding week (if any) to get the cost per week.

    Example:

    Given Task As start Date range of 11/9/20-11/17/20, there are a total of 7 working days.
    The cost of task A is $10,000. $10,000/7 days = $1,428.57 per day

    In Week 1's range of 11/9/20-11/15/20, task A has 5 working days. Week's 1 allocation would equal $1,428.57 * 5 = $7,142.85
    In week 2's range of 11/16/20-11/22/20, task A has 2 working days. Week's 2 allocation would equal $1,428.57 * 2 = $2,857.14
    In week 3's range of 11/23/20-11/29/20, task A has 0 working days. Week 3's allocation would equal $0.
    ...etc.

    Determining Task Cost Allocation Per Week Based On a Task's Start and End Date.xlsx

    Task Allocation.png

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,459

    Re: Using a Formula To Determine A Task's Cost Allocation Per Week Based On a Date Range

    Try in C4:

    Please Login or Register  to view this content.
    Quang PT

  3. #3
    Registered User
    Join Date
    06-22-2020
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Using a Formula To Determine A Task's Cost Allocation Per Week Based On a Date Range

    Quote Originally Posted by bebo021999 View Post
    Try in C4:

    Please Login or Register  to view this content.
    This worked perfectly!! Thank you kindly. I added this formula to my Gantt chart to automatically calculate the planned value (pv) per week of a task. Here is the formula with labels added for anyone who wants to more easily understand:

    Determining Task Cost Allocation Per Week Based On a Task's Start and End Date (4) (1).xlsx
    Attached Images Attached Images
    Last edited by dmartin55; 11-17-2020 at 08:24 PM.

  4. #4
    Forum Contributor
    Join Date
    11-21-2013
    Location
    zimbabwe
    MS-Off Ver
    Excel 2003
    Posts
    124

    Re: Using a Formula To Determine A Task's Cost Allocation Per Week Based On a Date Range

    Another way, in E4:
    Please Login or Register  to view this content.
    Then fill right and down

+ 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] Formula to determine date of Sunday from last week
    By tahoeast in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-13-2022, 08:44 AM
  2. Employee cost allocation across cost centers based on percentage
    By MRIRIF in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-13-2018, 12:54 PM
  3. Cost allocation based on days in month adding an extra day
    By rcm242 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2017, 05:00 PM
  4. Auto allocation of week number based on date of completion
    By pearlite007 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-01-2017, 02:42 PM
  5. Replies: 4
    Last Post: 11-14-2015, 12:13 PM
  6. Replies: 10
    Last Post: 11-16-2012, 07:54 PM
  7. How to compute Allocation based on Date Range
    By dystop1a in forum Excel General
    Replies: 4
    Last Post: 04-06-2011, 04: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