+ Reply to Thread
Results 1 to 5 of 5

If Statements to calculate negative numbers

  1. #1
    Registered User
    Join Date
    12-20-2010
    Location
    Cambridge, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    89

    If Statements to calculate negative numbers

    Hello Forum,

    I'm hoping someone can help me out with what I believe is a simple formula that I cannot seem to get to work.

    In column C is the amount that I will charge a customer.
    In column D is the amount the customer paid me.
    In column E is the balance owing.

    A simple formula in cell E2 to figure out the balance owing is this:
    (E1+C2-D2)

    The issue I have is this :
    If my customer pays me more than they need to (we work on large projects here and they like to "pre pay" ahead of time), I need it to add their payment to the balance.

    I've attached an example.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-24-2011
    Location
    Sheppey
    MS-Off Ver
    Excel 2010
    Posts
    239

    Cool Re: If Statements to calculate negative numbers

    Would it be easier to have just one cell to display how much is owed.
    Then all you need is the total of column C minus the total of column D.
    And with the cell formated to go Red for Minus currency numbers, you can see if the account is in credit or not. Or with a minus before the formula to reverse it.

  3. #3
    Registered User
    Join Date
    09-24-2010
    Location
    Victoria, BC
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: If Statements to calculate negative numbers

    Try this.
    E2 is your opening balance.
    In E3 type: =SUM(E2+C3-D3)
    In E4 type =IF(E3="","",E3+C4-D4)

    Copy Formula in E4 down
    Format column E as Accounting.
    Should get you the result you need.
    Last edited by Unca Wook; 02-19-2011 at 05:16 AM. Reason: Forgot copy instruction, fix typos

  4. #4
    Registered User
    Join Date
    12-20-2010
    Location
    Cambridge, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    89

    Re: If Statements to calculate negative numbers

    Awesome!
    Now if only i knew how to mark this as Solved !!!


    thanks all !!

  5. #5
    Registered User
    Join Date
    09-24-2010
    Location
    Victoria, BC
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: If Statements to calculate negative numbers

    To mark a thread as solved go to your first post of the thread.
    At the bottom of the post, click "Go Advanced"
    Use the drop-down menu to the left ot the thread title and select Solved.

    Also, if you have found another user's input helpful you might want to select the scales in the top right of their posts and click on the scales.

    Hope that helps!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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