+ Reply to Thread
Results 1 to 5 of 5

Excel Formulas aren't calculating correctly

  1. #1
    Registered User
    Join Date
    06-28-2008
    Location
    Planet Earth
    Posts
    17

    Excel Formulas aren't calculating correctly

    Hello Everyone!

    I have a spreadsheet I created and need some help with it.

    Here is a description of the columns in my spreadsheet.


    Column Explanation

    A = Date in format Day-Month-Year
    B = Just a plain number I assign randomly
    C = Description of item debited/credited
    D = Amount either debited or credited. Amounts are in EURO.
    E through I = Additional level of detail that describes item(s) being credited or debited if not listed in column "D".
    J = Current balance


    Here is what I would like to see happen. I want to be able to enter the date, a random number and a description of an item being debited and/or credited in column "D". If column "D" is not filled than the credit or debit will be entered somewhere between columns "E" through "I". As each row is filled with data the "Current Balance" in Column "J" is always being adjusted accordingly. A column containing a EURO value can be either positive or negative.

    If I need to add any additional columns sometime in the future, I would like to have this possibility enabled as well.

    Would someone mind instructing me as to what I need to do.

    Thank you very much,

    Suomalainen
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: Excel Formulas arenät calculating correctly

    =J2-SUM(D3:I3)
    Dragged down
    Column C does not indicate debit or credit, the amount does if you use negative or positive numbers.

    Please complete your profile properly.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Excel Formulas arenät calculating correctly

    excel formulas nearly always calculate correctly. if it the wrong answer then you are using the wrong formula!
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Excel Formulas arenät calculating correctly

    Maybe (to build on Dave's formula):

    =IF(C3="","",N(J2)-SUM(D3:I3))

    and drag down. This will allow you to pre-populate cells without the last value being repeated. On the down side, if you have a blank description for any reason, it will get confused.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Registered User
    Join Date
    06-28-2008
    Location
    Planet Earth
    Posts
    17

    Re: Excel Formulas arenät calculating correctly

    Thank you everyone for helping me! Also, Merry Christmas to all!

    I'm real new to excel computer and to PC spreedsheet. Still learning how computer working.

    I still have one question. Why in formula I must use negative sign " - " to make value add in Colum "J". Meaning that if I need to add a credit between column D to I I must use the minus sign.. This confuses me.

    Is in not possible to use "+" sign when adding a credit and then just plain number to subtract.

    I appreciate your explanation.

    Thank you very much.

+ 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