+ Reply to Thread
Results 1 to 3 of 3

Getting the Subtotal formula in the Data tool to use a SUMIF instead of just SUM

Hybrid View

  1. #1
    Registered User
    Join Date
    06-12-2012
    Location
    Trinidad and Tibago
    MS-Off Ver
    Excel 2003
    Posts
    2

    Getting the Subtotal formula in the Data tool to use a SUMIF instead of just SUM

    How can I run the Subtotal function (or something similar) found under the Data Tool to SUMIF instead of just SUM.

    I am trying to subtotal columns on a worksheet but I want the subtotals to ignore negatives and #VALUE! and only add positive numbers.

    I want to do this in the same way that subtotal works under the DATA tool so that I do not have to retype the formula for each row that needs the SUMIF formula.

    Thanks so much for any assistance that can be given.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Getting the Subtotal formula in the Data tool to use a SUMIF instead of just SUM

    hi kasera, welcome to the forum. do you need to see the #VALUE! errors & negative values in the same column? if not, you could do an additional column beside it & use this formula assuming the figures starts in Cell G2:
    =IF(ISERROR(G2),0,IF(G2<0,0,G2))

    you can then do a subtotal based on this new column

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    06-12-2012
    Location
    Trinidad and Tibago
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Getting the Subtotal formula in the Data tool to use a SUMIF instead of just SUM

    That works!!
    Thank you 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