+ Reply to Thread
Results 1 to 7 of 7

total column to minus what is in the debit Col (E) & add the Credit col (D)

  1. #1
    Registered User
    Join Date
    11-09-2008
    Location
    manchester
    Posts
    3

    total column to minus what is in the debit Col (E) & add the Credit col (D)

    Hi, i'm using excel to create a spreadsheet to keep a track of my accounts but am struggling to come up with a formula which is probably really simple but i just can't seem to get in right.

    I have a credit column, a debit column & a total column.

    I want the total column to minus what is in the debit column (column E) & add what is in the Credit column (column D).

    This os driving me insane as I use excel quite a lot but can't do this...heeeelp!!!

    Thanks

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Assuming F is your total column and F1 your starting value =F1+D2-E2 why not attach a workbook?
    Not all forums are the same - seek and you shall find

  3. #3
    Registered User
    Join Date
    11-09-2008
    Location
    manchester
    Posts
    3
    That's great thank you. Now just gotta figure out how to make any numbers showing in a minus figure turn red in colour.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Take a look at custom formats

    http://peltiertech.com/Excel/NumberFormats.html

    e.g
    0;[Red]-0
    or conditional formats
    http://www.contextures.com/xlCondFormat01.html

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Its simpler than that, just right click the cell choose format cells>number then choose the look you want for anegative number!

  6. #6
    Registered User
    Join Date
    11-09-2008
    Location
    manchester
    Posts
    3
    Thanks Simon, you've been a great help.

  7. #7
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    If this has answered your question please mark the thread solved by going to your first post in this thread then EDIT>GO ADVANCED you will see a dropdown next to the title choose Solved and then save changes!

+ 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