+ Reply to Thread
Results 1 to 3 of 3

Spread cost over time automatically using multiple activity start and finishes

  1. #1
    Registered User
    Join Date
    06-12-2020
    Location
    England
    MS-Off Ver
    2019
    Posts
    1

    Spread cost over time automatically using multiple activity start and finishes

    Hi Guys,

    I am currently trying to put a sheet together that will automatically spread cost over time using multiple date sets. I have the formula working for one set of dates however some items need to be spread across more than one activity i.e. up to 4 sets of dates and i was wondering if there was a way to do this? An example of the spreadsheet with data removed is attached.

    My amount to be spread is in column K
    Date set 1 start is in column M
    Date set 1 finish is in column N
    Date set 2 start is in column P
    Date set 2 finish is in column Q
    Date set 3 start is in column S
    Date set 3 finish is in column T
    Date set 4 start is in column V
    Date set 4 finish is in column W

    My monthly cells for the cost to be spread in are then from Column X onwards with dates in Row 3 using start date of each month

    My current formula that works for just 1 date set is as follows: =IF(OR(X$3<=$M5-DAY($M5),X$3>EOMONTH($N5,0)),"",MAX(MIN(EDATE(X$3,1)-$M5,EDATE(X$3,1)-X$3,$N5-X$3+1,$N5-$M5+1),0)*$K5/($N5-$M5+1))

    Any help would be greatly appreciated.

    Thanks

    Jack
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,412

    Re: Spread cost over time automatically using multiple activity start and finishes

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As you are new, I will provide a link for you this time: https://www.mrexcel.com/board/thread...dates.1137055/.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,412

    Re: Spread cost over time automatically using multiple activity start and finishes

    Pleas note the requirements for a sample workbook: it should be "a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results."

    Please update your sample workbook - it's far too busy at the moment.

+ 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. Replies: 2
    Last Post: 03-06-2016, 09:22 PM
  2. Replies: 2
    Last Post: 03-06-2016, 11:05 AM
  3. Replies: 3
    Last Post: 03-06-2016, 11:02 AM
  4. Replies: 2
    Last Post: 03-06-2016, 11:02 AM
  5. Activity Time Tracker to capture activity selected from dropdown list
    By dillibabu in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-24-2013, 01:10 PM
  6. Replies: 3
    Last Post: 10-23-2012, 09:04 PM
  7. Replies: 0
    Last Post: 09-03-2010, 05:36 AM

Tags for this Thread

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