+ Reply to Thread
Results 1 to 6 of 6

Enter in Value A, Have A subract from B while adding A to C

  1. #1
    Registered User
    Join Date
    04-26-2013
    Location
    Portland, OR
    MS-Off Ver
    Excel 2010
    Posts
    3

    Enter in Value A, Have A subract from B while adding A to C

    Hello all,

    I am sorry if the title and/or body is confusing. I will try to explain as detailed as possible

    I am using Excel 2011, creating a balance sheet of customers whom are on payment plans so I have a title of "Amount Down" Meaning how much they have paid thus far, "Amount Paid" As well as "Remaining Balance"

    What I need is the ability to plug in a value under "amount paid", have that be subtracted from "Remaining Balance" as the value for "Amount Paid" is also added to "AMOUNT DOWN". Then I need the PAID value go back to nothing/"0"

    If anyone can help me out, if this even makes sense, that would be greatly appreciated.

    Thank you for your time

    -Tim
    Last edited by Timmart09; 04-29-2013 at 04:14 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Enter in Value A, Have A subract from B while adding A to C

    Hi and welcome to the forum

    What you described makes perfect sense, however it is not possible with regular formulas - it will require some VBA (code) to do it hw way you want.

    An alternative would be to just keep a running total of payments, something like...
    A2 = name
    B2 = payment
    C2 = paid to date (this would have to be a manual entry the 1st time round, and formulas from then on)
    D2 = Balance outstanding

    OR you could have a long list of list of names and payments in 1 sheet (sort of like a data base), and then do yje summaries on another sheet.

    If this is something that would interest you, let me know and we can start putting something together for you
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-26-2013
    Location
    Portland, OR
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Enter in Value A, Have A subract from B while adding A to C

    Thank you for your response! I linked an example of what I have set up already and I am not too sure if that is what you mean by a large list of names and balances.

    I'm sorry that I do not have that big of an excel based knowledge to go by so I am not sure what you means by a yje =X

    Thank you very much again for your help! =D

    Tim
    Attached Files Attached Files

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Enter in Value A, Have A subract from B while adding A to C

    Hi Timmart,

    Here's a worksheet event for your balance sheet:

    Please Login or Register  to view this content.
    Directions for running the routine(s) just supplied

    Copy the code to the clipboard

    Open your Workbook or
    Save your Workbook or Another Workbook designated for Macros as Macro_Enabled

    Press ALT + F11 to open the Visual Basic Editor.

    Select Your Balance Sheet from the Insert menu

    Type "Option Explicit" then paste the code under it

    And you're ready to go!
    Last edited by xladept; 04-29-2013 at 07:08 PM.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Enter in Value A, Have A subract from B while adding A to C

    OR you could have a long list of list of names and payments in 1 sheet (sort of like a data base), and then do yje summaries on another sheet.
    Sorry, typo...that was meant to be "the" lol

    Let me know if XLAdept's suggestion works for you?
    Last edited by FDibbins; 04-29-2013 at 07:19 PM.

  6. #6
    Registered User
    Join Date
    04-26-2013
    Location
    Portland, OR
    MS-Off Ver
    Excel 2010
    Posts
    3

    Wink Re: Enter in Value A, Have A subract from B while adding A to C

    THANK YOU, you all are AWESOME and friendly! I am trying the code right now and will keep you posted as to if it works!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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