+ Reply to Thread
Results 1 to 32 of 32

How to calculate values related to specific dates

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-19-2017
    Location
    Taguig City, Philippines
    MS-Off Ver
    Microsoft Excel 2016
    Posts
    120

    Re: How to calculate values related to specific dates

    Quote Originally Posted by JohnTopley View Post
    Try

    in "Straightline"

    =IF(OR(K$4 < EOMONTH($E6,-1)+1,K$4 > EOMONTH($E6+ROUNDUP($G6*365,1),-1)+1),"",IF(K$4=EOMONTH($E6,-1)+1,$D6*$H6*((((EOMONTH(K$4,0))-$E6))/365),IF(K$4=EOMONTH($E6+ROUNDUP($G6*365,1),-1)+1,$I6-SUM($J6:J6),$D6*$H6*(((EOMONTH(K$4,0))-((EOMONTH(K$4,-1)+1))+1)/365))))

    in "Diminishing"

    =IF(OR(K$4 < EOMONTH($E7,-1)+1,K$4 > EOMONTH($E7+ROUNDUP($G7*365,1),-1)+1),"",IF(K$4=EOMONTH($E7,-1)+1,($AD7-SUM($J7:J7))*$H7*((((EOMONTH(K$4,0))-$E7))/365),IF(K$4=EOMONTH($E7+ROUNDUP($G7*365,1),-1)+1,$AD7-SUM($J7:J7),($AD7-SUM($J7:J7))*$H7*(((EOMONTH(K$4,0))-((EOMONTH(K$4,-1)+1))+1)/365))))
    Yey, this now works and everything now reconciles with my testing spreadsheet! I'm so happy!!! Can't believe that this is possible.
    Just another thing though, under Sheet 1, the formula for Accumulated Depreciation, I know that it is just taking the total amount for the year i.e Jul-Jun. Can we make it like for example, If I enter the Feb amount, the accumulated depreciation that would reflect in Summary sheet would be -

    =(Acquisition Cost/Opening WDV) - whichever has an amount LESS (Sum of Depreciation from July to (whichever month is in cell E2 of Sheet1))

    Reason behind is, so that the Summary table will only give me the amounts for the month even though Sheet 2 and 3 is calculating expenses already for the whole year. I hope it makes sense.

    Again thank you so much, you're so great!!!! Have a blessed day ahead!
    Last edited by MyStix01; 05-23-2018 at 07:16 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,881

    Re: How to calculate values related to specific dates

    There is no "Sheet1"! so I don't know to what you are referring.

    Please post a file with example calculation as you say enter a value for Feb but use date in E3.

+ 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] Calculate diff in dates for specific ID
    By SajMc in forum Excel General
    Replies: 2
    Last Post: 04-11-2018, 03:36 AM
  2. Formula to calculate Specific dates and times
    By aloggies in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-13-2015, 12:39 PM
  3. Replies: 3
    Last Post: 01-27-2014, 07:17 AM
  4. Replies: 7
    Last Post: 05-02-2013, 09:50 PM
  5. [SOLVED] Calculate time related values as minute average
    By Doctor Gooose in forum Excel General
    Replies: 9
    Last Post: 07-04-2012, 08:22 AM
  6. How to calculate days between two dates (specific)
    By netone_1 in forum Excel General
    Replies: 7
    Last Post: 04-28-2011, 11:18 AM
  7. Calculate Amounts for Specific Dates
    By bw in forum Excel General
    Replies: 2
    Last Post: 10-26-2005, 07:05 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