+ Reply to Thread
Results 1 to 8 of 8

Formula for Extracting Installments due with Amount

  1. #1
    Registered User
    Join Date
    06-06-2012
    Location
    Kolkata
    MS-Off Ver
    Excel 2007
    Posts
    16

    Formula for Extracting Installments due with Amount

    Hello!

    Can anyone help me with extracting Installment dues from a set of table.

    Test Data with result required is attached herewith

    Thank & regard
    Vikash
    Attached Files Attached Files
    Thanks & Regards
    Vikash Dalmia
    +91 8981274090

  2. #2
    Forum Contributor
    Join Date
    11-23-2022
    Location
    Amsterdam
    MS-Off Ver
    2021
    Posts
    193

    Re: Formula for Extracting Installments due with Amount

    Not sure what's happening in column H as it doesn't match column B.
    Can you not simply copy column B to E to another sheet?

  3. #3
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Cool Hello, try this !


    According to the attachment a VBA demonstration as a beginner starter :

    PHP Code: 
    Sub Demo1()
        
    Dim VR&, C%, M
            V 
    Range("B3", [F2].End(xlDown))
        For 
    1 To UBound(V)
        For 
    1 To 4
            M 
    Application.Min(V(RC), V(R5))
            
    V(RC) = V(RC) - M
            V
    (R5) = V(R5) - M
            
    If V(R5) = 0 Then Exit For
        
    Next CR
            
    [H3:K3].Resize(UBound(V)) = V
    End Sub 
    ► Do you like it ? ► So thanks to click on bottom left star icon « Add Reputation » !

  4. #4
    Registered User
    Join Date
    06-06-2012
    Location
    Kolkata
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Formula for Extracting Installments due with Amount

    Hello Sir,

    with reference to attached excel sheet, Total Fees in Column A is divided into four installment in column B, C, D & E respectively.

    Column F is the amount paid by the customer.

    I want to identify the remaining installment amount after adjusting the amount paid by the customer in column H,I,J,K

    For Example

    In Row 6, Customer has paid Rs. 107500/-, that mean He has 0/- amount due in First Installment, Rs.500/- due in second Installment and Installment 3 and 4 as well.
    In Row 9, Customer has paid Rs. just Rs. 5000/-, that mean He has 45000/- amount due in First Installment, and Installment 2, 3 and 4 as well.

    Hope the said example will help you to understand what i am looking for

    Any help in this regard will be highly appreciated

    Thank & regard'
    Vikash

  5. #5
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Exclamation Re: Formula for Extracting Installments due with Amount


    Already helped !

  6. #6
    Registered User
    Join Date
    06-06-2012
    Location
    Kolkata
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Hello, try this !

    Hi Marc!

    Thank a ton for the solution, it worked perfectly well with VBA,

    Is it possible to do with the help of formula?

    Thank & regard
    Vikash

  7. #7
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Formula for Extracting Installments due with Amount


    As this is obviously a VBA forum section so next time create your thread on the appropriate forum section …

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

    Re: Formula for Extracting Installments due with Amount

    In M3 and copied across and down.

    =MIN(MAX(0,SUM($B3:B3)-$F3),B3)
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ 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: 4
    Last Post: 06-17-2018, 02:02 PM
  2. Calculating Installments Payments Dues
    By Abdur_rahman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-15-2013, 12:14 PM
  3. Extracting Top 10 Customers from Huge Amount of Data
    By Susan Schneider in forum Excel General
    Replies: 24
    Last Post: 04-12-2013, 08:42 PM
  4. Number to installments between two dates
    By b96392 in forum Excel General
    Replies: 8
    Last Post: 09-06-2011, 04:18 AM
  5. How to count unpaid installments.
    By rushatiindia in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-20-2008, 01:42 AM
  6. Calculation of monthly installments
    By Emilystorey in forum Excel General
    Replies: 1
    Last Post: 06-29-2006, 11:20 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