+ Reply to Thread
Results 1 to 7 of 7

Finding difference of two dates for the same customer name and the same receipt type and c

  1. #1
    Registered User
    Join Date
    08-31-2021
    Location
    India
    MS-Off Ver
    2007,2013
    Posts
    4

    Finding difference of two dates for the same customer name and the same receipt type and c

    Dear Experts,

    I have a problem in calculating the interest on balance amount.

    [First WorkSheet ] [On Another Work sheet]

    Sr. No Party Name Receipt Type Date Amount PartyName Land Premium Lease Rent
    1 Laopala RG Ltd. Land Premium 10-11-18 50000 Laopala RG Ltd. =(Interest on land Premium for the year here ) =(Interest on Lease Rent for the year here )
    2 Devendra Rawat Lease Rent 15-11-18 20000 Devendra Rawat =(Interest on land Premium for the year here ) =(Interest on Lease Rent for the year here )
    3 Laopala RG Ltd. Lease Rent 04-12-18 70000
    4 Devendra Rawat Lease Rent 20-01-19 40000
    5 Laopala RG Ltd. Lease Rent 17-02-19 20000​


    …. And so on, there are n number of receipt types and Parties

    1 Rate of Interest is 12% and Financial Year is (01/04/2018 to 31/03/2019 containg 365 days)
    2 There is another worksheet name Output, Which has only unique party names, where interest has to calculated, It also contains expected results and calculation method
    3 From this table, I want to calculate total calculate Interest for the year (01/04/2018 to 31/03/2019) for each Receipt Type for each party
    4 Interest will be calculated as = [Amount]*[No of Days/365]*[12%]
    5 For Example, in case of Laopala RG Ltd, there are two types of receipts (a) Land Premium and (b) Lease Rent and interest has to calcuated for both type of receipts separately
    a. In case of land Premium :
    Interest will calculated for (31/03/2019- 10/11/2018) = 141 Days on 50000,
    b. In case of Lease Rent :
    Laopala RG Ltd made first payment for Lease Rent on 04/12/2018 of 70000 and next payment on 17/02/2019.. therefore Interest has to be calculated for the year (01/04/2018 to 31/03/2019) as follows
    1. (17/02/2019 -04/12/2018)= 75 Days on 70000
    2. (31/03/2019 - 17/02/2019) =42 Days on ( 70000 + Amount in 1. Above)

    6 Interest on Lease Rent only will be total = 1+2 in a single cell

    7 Can this be done using Excel Array Formulas (Excel 2007 or Excel 2013 only) ? No VBA due to frequent transfer of files on gmail
    8 Though this is similar to interest on ledger balances of a Party with two major difference, table consists more than one party and interest is to be calculated for each receipt type separately.
    Attached Files Attached Files
    Last edited by MyTaxcel; 08-31-2021 at 10:15 PM.

  2. #2
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Finding difference of two dates for the same customer name and the same receipt type a

    Quote Originally Posted by MyTaxcel View Post
    a. Interest on land Premium will be calculated for (31/03/2019- 10/11/2018) Days on 50000,
    b. Interest on Lease Rent will be calculated for (17/02/2019 - 04/11/2018) Days on 70000, + (31/03/2019 - 17/02/2019) Days on [70000+ ( Interest on Lease Rent (Calculated in Formula) ]
    Where is 31/03/2019 or 17/02/2019 ?

    Regards.

  3. #3
    Registered User
    Join Date
    08-31-2021
    Location
    India
    MS-Off Ver
    2007,2013
    Posts
    4

    Re: Finding difference of two dates for the same customer name and the same receipt type a

    Thanks for reply..

    31/03/2019 is the financial year end (01/04/2018 To 31/03/2019) , both dates can be taken as constant or referenced from the fixed cells.


    Example is reproduced due to mistake in one of the dates
    For Example, in case of Laopala RG Ltd,
    a. Interest on land Premium will be calculated for (31/03/2019- 10/11/2018) Days on 50000,
    b. Interest on Lease Rent will be calculated for (17/02/2019 - 04/12/2018) Days on 70000, + (31/03/2019 - 17/02/2019) Days on [70000+ ( Interest on Lease Rent (Calculated in Formula) ]

    There are two types of receipts (a) Land Premium and (b) Lease Rent.

    Consider the case of Lease Rent only..

    Laopala RG Ltd made first payment for Lease Rent on 04/12/2018 of 70000 and next payment on 17/02/2019.. therefore Interest has to be calculated for the year (01/04/2018 to 31/03/2019) as follows

    1. (17/02/2019 -04/12/2018)= 75 Days on 70000
    2. (31/03/2019 - 17/02/2019) =42 Days on ( 70000 + Amount in 1. Above)

    Interest on Lease Rent only will be total = 1+2 in a single cell
    Last edited by MyTaxcel; 08-31-2021 at 08:15 AM.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Finding difference of two dates for the same customer name and the same receipt type a

    With a couple of helper columns on sheet 1 perhaps in C2 on Sheet2 copied across and down

    =SUMIFS(Sheet1!$G$2:$G$6,Sheet1!$C$2:$C$6,C$1,Sheet1!$B$2:$B$6,$B2)

    See attached
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    08-31-2021
    Location
    India
    MS-Off Ver
    2007,2013
    Posts
    4

    Re: Finding difference of two dates for the same customer name and the same receipt type a

    Thank you Richard for replying..

    There are couple of more conditions as mentioned in the thread.. Interest has to calculated for each Party and within party "Receipt Type" separately.. that means difference in days has be calculated for each Receipt Type within each party.. I hope you have understood what I want to convey...

    sorry for the poor drafting in English.


    Thanks and Regards

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Finding difference of two dates for the same customer name and the same receipt type a

    Where in the workbook do you hold what you appear to be saying is a requirement for a different interest rate for each Type/party?

    If that's not what you are saying please manually add the results you expect to see along and unless it's obvious a note that explains how you have calculated them.

  7. #7
    Registered User
    Join Date
    08-31-2021
    Location
    India
    MS-Off Ver
    2007,2013
    Posts
    4

    Re: Finding difference of two dates for the same customer name and the same receipt type a

    Thanks for your suggestions,

    I have incorporated the expected results in the excel file.. and also the my workings to calculate the interest receipt type wise and party wise.

    Note : Receipt Type wise interest has to calculated for each party separately.
    Attached Files Attached Files

+ 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: 07-26-2020, 04:50 PM
  2. Finding difference in days between 2 dates
    By FredFitzgerald in forum Excel General
    Replies: 9
    Last Post: 06-24-2019, 06:18 PM
  3. [SOLVED] Finding the difference between dates by using input numbers.
    By Sekars in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-28-2016, 03:01 AM
  4. Replies: 5
    Last Post: 08-07-2015, 10:05 PM
  5. Replies: 8
    Last Post: 08-04-2014, 01:45 PM
  6. [SOLVED] Finding the difference between two dates and times
    By Harper95th in forum Excel General
    Replies: 8
    Last Post: 02-14-2014, 02:53 PM
  7. Finding difference in dates for repeat entries
    By strikinglyfamiliar in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-27-2012, 03:21 PM

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