+ Reply to Thread
Results 1 to 6 of 6

Balance calculation automation through macro

  1. #1
    Forum Contributor
    Join Date
    09-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    239

    Balance calculation automation through macro

    Hi

    Please find a example file.
    We get raw data as dae/flat amount Negative fig represent amt recd from party Positive amt repersents instalment due amount.

    We calculate interest manually for various parties.Since it is tedious I request forums to help me with automation

    Original file is attached. Requirement file is attached

    Firstly Macro shall insert a given date for each and every of change of flat code. In this example 04/01/2016 will be the date for inserting as last row for each and every flat code
    Refer Colum D
    It will copy the first row as it is for balance and then add the previous row figure till it reaches another flat code
    Refer colum E
    It shall calculate No of days r by deducting the next row date and the current row date Until it reaches next flat code
    Refer colulm F
    It shall calculate Interest by giving formula
    Refer colum G
    It shall give sub toal for each and every flat code

    I thank the forum once again for their instant help.

    Thanks & Regards
    N.Srinivasan
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    09-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    239

    Re: Balance calculation automation through macro

    Hi
    Anybody can help me out for this.
    I would be obliged even if the following is achieved

    1) Inserting a row with specific date at the end of change of flat
    2) Balancing
    3) No of days calculation
    I can arrive by formula for interest portion Not at all a problem.
    Thanks & Regards
    N.Srinivasan

  3. #3
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Balance calculation automation through macro

    this can do the job

    Please Login or Register  to view this content.
    Kind regards
    Leo

  4. #4
    Forum Contributor
    Join Date
    09-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    239

    Re: Balance calculation automation through macro

    Hi
    Thank u very much for your efforts.
    It works everything excepting balancing portion
    Please refer my colum d for the first row of flat same amount of columc.
    Balance it has to add with previous balance+current amount.

    2)can the code be changed for a given date.
    It takes the current date by default.
    Thanks & Regards

  5. #5
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Balance calculation automation through macro

    then it lokks like this

    Please Login or Register  to view this content.
    Kind regards
    Leo

  6. #6
    Forum Contributor
    Join Date
    09-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    239

    Re: Balance calculation automation through macro

    Hi
    Thanks a lot
    It works great.
    According to me it is indeed a valued contribution. It saves a lot of time
    Once again thanking you

    Regards
    N.Srinivasan

+ 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] A formula where only the last balance in the column is applied in the calculation?
    By nutstae in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-06-2015, 08:06 PM
  2. [SOLVED] stop the calculation when balance becomes zero
    By excellover2212 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-01-2013, 09:06 AM
  3. Outstanding Balance calculation
    By Marvwade in forum Excel General
    Replies: 2
    Last Post: 01-26-2012, 08:12 PM
  4. Balance Calculation
    By shajms75 in forum Excel General
    Replies: 2
    Last Post: 04-01-2011, 05:29 AM
  5. Balance Calculation
    By Michaela.cotty in forum Excel General
    Replies: 6
    Last Post: 12-30-2010, 12:04 PM
  6. Running Balance Calculation - with timestamp parameters
    By Push Latency in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-30-2007, 04:19 PM
  7. Forcing calculation through automation
    By Nirmal Singh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2006, 05:35 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