+ Reply to Thread
Results 1 to 3 of 3

sharing the value of job over a certain period

  1. #1
    Registered User
    Join Date
    11-04-2008
    Location
    coventry
    Posts
    21

    sharing the value of job over a certain period

    Hello i need to share the valve of the job over the months.... please see attahed excel sheet
    say the job worth 10k has a start date of the 30th of nov and the end date is the 1st of dec
    the value of the job is shared between two days and then put into the relevent cell

    as regards to the months they are not calander months so the start date and end date of the months are diffrent please see attached sheet for full details

    Thanks

    James
    Attached Files Attached Files
    Last edited by VBA Noob; 11-14-2008 at 09:37 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531
    I think this is just an adaption of http://www.excelforum.com/excel-gene...-in-excel.html, correct ?

    For H5, if I've interpreted your question correctly:

    =IF(COUNT($D5:$G5)<4,0,$G5*(MAX(0,1+MIN(H$2,$E5)-MAX(H$1,$D5))/$F5))

    The above can be applied across range H5:S17

    Your scenario re: 30th Nov & 1st Dec does not hold true given your date range parameters in rows 1 & 2 of your sample workbook -- I think you mean 27th & 28th Nov perhaps ?

  3. #3
    Registered User
    Join Date
    11-04-2008
    Location
    coventry
    Posts
    21
    thankyou very much

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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