+ Reply to Thread
Results 1 to 3 of 3

Figuring a formula to add and then subtract certain cells in one column

  1. #1
    Registered User
    Join Date
    01-19-2011
    Location
    Kansas, USA
    MS-Off Ver
    Excel 2007
    Posts
    28

    Figuring a formula to add and then subtract certain cells in one column

    I have a spreadsheet that I have multiple columns and I sum each one for a total but I have colored cells within these columns and they need to be subtracted or make them not be figured in at all. Have attached a sample.
    Thank you
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16/365
    Posts
    51,990

    Re: Figuring a formula to add and then subtract certain cells in one column

    replace all of your =sum() with =subtotal(9,range) the 9 is to add
    then for the grand total, use subtotal(9,range) for the entire range
    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
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    7,249

    Re: Figuring a formula to add and then subtract certain cells in one column

    USE FORMULA IN C40 CELL AND DRAG.

    NOTE:A10 cell is blank. I feel you have to fill sum number .Then only formula works ok.


    Please Login or Register  to view this content.
    Last edited by kvsrinivasamurthy; 01-17-2013 at 12:00 PM.

+ 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