+ Reply to Thread
Results 1 to 6 of 6

Formula to calculate totals

  1. #1
    Registered User
    Join Date
    12-15-2008
    Location
    in a mud hut
    Posts
    28

    Formula to calculate totals

    Hi

    This is probably really easy to do, but i am struggling to get it to work.

    My scenario is i have 3 columns

    1st - Hours Added
    2nd - Hours deducted
    3rd - subtotatal

    when a figure is typed in column 1 i would like ti to populate in the balance, then when a some hours are deducted for the balance column to reflect that
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Formula to calculate totals

    C6: =N(C5)+(A6-B6)
    copied down as required

    not quite sure of your sample calcs though... surely 6+6 = 12... or are you an accountant ;-)

  3. #3
    Registered User
    Join Date
    12-15-2008
    Location
    in a mud hut
    Posts
    28

    Re: Formula to calculate totals

    Yeah, slight mistake there How embarrassing

    The formula doesn't work? Maybe i am doing something wrong?

    thanks

  4. #4
    Registered User
    Join Date
    12-15-2008
    Location
    in a mud hut
    Posts
    28

    Re: Formula to calculate totals

    Ok, the formula works great. Thanks, however i have attached the spreadsheet as it will be clearer, how can i get the formula column to stay blank without all those number '9' going down the column?

    Is it possible to have them blank and only populate when figures are entered in columns 1 & 2?
    Attached Files Attached Files

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Formula to calculate totals

    Then

    C6: =IF(COUNT(A6:B6),N(C5)+(A6-B6),"")

  6. #6
    Registered User
    Join Date
    12-15-2008
    Location
    in a mud hut
    Posts
    28

    Re: Formula to calculate totals

    Perfect, thanks ever so 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