+ Reply to Thread
Results 1 to 19 of 19

Calculate amount as per payment terms

  1. #1
    Registered User
    Join Date
    04-04-2014
    Location
    India,Pune
    MS-Off Ver
    Excel 2013
    Posts
    99

    Calculate amount as per payment terms

    Hi team,

    Need help in attached file.

    I need to put a formula in column F4 to K4 that calculate the amount from A4 to D4 as per there payment terms.

    Ex. June'17 Amount $100 should be comes under G4 (Aug'17) column because payment terms is 40. June'17 + 40 days = Aug'17.

    Hope I am able to understand my queries.

    Thanks.
    Attached Files Attached Files
    Last edited by rchure; 08-21-2017 at 07:56 AM.

  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,460

    Re: Calculate amount as per payment terms

    Why are the column headers set to the 7th of each month? Is this significant?
    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
    Registered User
    Join Date
    04-04-2014
    Location
    India,Pune
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Calculate amount as per payment terms

    Because we raising invoices on 07th of every month so that payment terms calculate from that day and invoice will be raise one month later.
    example - June'17 month invoice will be raise on 07th July.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Calculate amount as per payment terms

    f4=SUMPRODUCT((TEXT(EOMONTH(DATEVALUE($A$3:$D$3),0)+$E$4,"MMMYY")=TEXT(F$3+0,"MMMYY"))*($A$4:$D$4))
    Try this and copy towards right
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Registered User
    Join Date
    04-04-2014
    Location
    India,Pune
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Calculate amount as per payment terms

    Hi,

    Below formula working correctly but one changes require that I have not mentioned earlier. Sorry for that.

    f4=SUMPRODUCT((TEXT(EOMONTH(DATEVALUE($A$3:$D$3),0)+$E$4,"MMMYY")=TEXT(F$3+0,"MMMYY"))*($A$4:$D$4))

    The formula should calculate from the 7th of each month + payment terms and then amount comes under that particular month.

    ex. June'17 invoice $100 will be raise on 07th July so its should comes under Aug'17. 07th July +30 Days = Aug'17.

  6. #6
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Calculate amount as per payment terms

    then try
    =SUMPRODUCT((TEXT(EOMONTH(DATEVALUE($A$3:$D$3),0)+$E$4+7,"MMMYY")=TEXT(F$3+0,"MMMYY"))*($A$4:$D$4))
    and copy towards right

  7. #7
    Registered User
    Join Date
    04-04-2014
    Location
    India,Pune
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Calculate amount as per payment terms

    Thank You sooooo much...

    its work!!!!!!!!!

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Calculate amount as per payment terms

    Try this

    A3:D3 changed from text to date
    A3=1/6/17, B3=1/7/17 etc

    In F4, then drag acr

    Please Login or Register  to view this content.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    04-04-2014
    Location
    India,Pune
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Calculate amount as per payment terms

    Hi Murthy,

    Thanks for the reply.

    In your formula when I put the payment days 180 the June amount comes under Dec'17 but it should be comes under Jan'18.

    because June'17 invoice will raise on 07th July + 180 days = 03rd Jan'18.

    I have attached the file for your reference.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    04-04-2014
    Location
    India,Pune
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Calculate amount as per payment terms

    Hi,

    When I convert the in Month format for column A3 to D3 the formula showing "#VALUE!" error message.

    Attached is the file for your reference.
    Attached Files Attached Files

  11. #11
    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,460

    Re: Calculate amount as per payment terms

    Please select Thread Tools from the menu link above and mark this thread as UNSOLVED so that you continue to get help.

  12. #12
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Calculate amount as per payment terms

    Revised formula
    In F4, then drag to right

    Please Login or Register  to view this content.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    04-04-2014
    Location
    India,Pune
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Calculate amount as per payment terms

    Hi,

    Thanks for the formula.

    But for 15 days the formula not calculating correctly. ex - for June invoice I will post on 07th July + 15 days = 22nd July.

    But as per formula its calculating under Aug'17

    And for 30 days no amount calculating under Oct'17.

    Please find attached file for your reference.
    Attached Files Attached Files

  14. #14
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Calculate amount as per payment terms

    Pl give some more examples with starting date and expected result months.

  15. #15
    Registered User
    Join Date
    04-04-2014
    Location
    India,Pune
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Calculate amount as per payment terms

    Hi,

    Column A to D is month and invoice amount so I need formula in Column F onward which calculate invoice receiving month as per there payment terms.

    and we are posing invoice one month later on the 7th date every month. ex June invoice will post on 7th July and so on.

    So out put of formula is like below.

    June'17 invoice amount is 100 and payment term is 15 days therefore, it will appear under July'17 Month (column F)

    07th July +15 days = 22nd July.

    The end goal of formula is check invoice month, take 7th date of 1 month later and add payment terms & then whatever month is coming the amount goes under that particular month.

    Hope I am able understand my query.

  16. #16
    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,460

    Re: Calculate amount as per payment terms

    You have been asked for a larger sample data set, not a repetition of the logic. Please supply the data requested.

  17. #17
    Registered User
    Join Date
    04-04-2014
    Location
    India,Pune
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Calculate amount as per payment terms

    attached is the sample file for reference.
    Attached Files Attached Files

  18. #18
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Calculate amount as per payment terms

    F4=SUMPRODUCT((TEXT(EDATE(DATEVALUE(TEXT($A$3:$D$3,"MMMYY")),1)+6+$E4,"MMMYY")=TEXT(F$3+0,"MMMYY"))*($A$4:$D$4))
    Try this and copy across
    I think you are confusing the forum members,
    please give actual scenario and what is your requirement at a time, but not in instalments

  19. #19
    Registered User
    Join Date
    04-04-2014
    Location
    India,Pune
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Calculate amount as per payment terms

    Sorry for confusion.

    Your formula is working properly.

    Thank you so much!

+ 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. 2 Lists - Compare Supplier, open Orders and Payment terms
    By Nooby0815 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-26-2016, 05:31 AM
  2. How to calculate average payment terms
    By eekbubble in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-26-2015, 08:28 AM
  3. Calculating a due date based on a range of payment terms???
    By 6032Wayne in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-23-2015, 05:59 PM
  4. Replies: 6
    Last Post: 12-05-2014, 12:13 PM
  5. formula to subtract payment amount on monthly payment date
    By restingdonkey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-18-2014, 03:39 PM
  6. [SOLVED] Calculating Payment Terms
    By meyero90 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-30-2013, 10:28 AM
  7. Calculate loan amount when payment known.
    By Gschwaller in forum Excel General
    Replies: 1
    Last Post: 07-05-2012, 06:38 PM

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