Closed Thread
Results 1 to 4 of 4

Use the subtotal funtion to sum a range of cells based on a criteria.

  1. #1
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    3

    Red face Use the subtotal funtion to sum a range of cells based on a criteria.

    I need a function to find the sub total in a range that is based on a criteria (similar to the "Sumif" function, but I want to exclude filtered cell values)


    Thanks for any help from the forum

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Use the subtotal funtion to sum a range of cells based on a criteria.

    Try this, If 9 is used insted of 109 all rows will be summed.109 restricts to only visible cells.
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Use the subtotal funtion to sum a range of cells based on a criteria.

    Thread posted in CS, hence closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Use the subtotal funtion to sum a range of cells based on a criteria.

    Quote Originally Posted by kvsrinivasamurthy View Post
    Try this, If 9 is used insted of 109 all rows will be summed.109 restricts to only visible cells.
    Please Login or Register  to view this content.
    1) Op needs SUBTOTAL under condition.

    ...(similar to the "Sumif" function, but I want to exclude filtered cell values)
    2) From Microsoft.

    .
    ..Function_num is the number 1 to 11 (includes hidden values) or 101 to 111 (ignores hidden values) that specifies which function to use in calculating subtotals within a list.
    http://office.microsoft.com/en-us/ex...005209288.aspx
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Formula Needed to count a range of cells based on criteria in 2 other cells
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-01-2013, 04:06 PM
  2. VBA to delete a range of cells based on 1 criteria
    By Jim885 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-02-2013, 08:52 AM
  3. Replies: 6
    Last Post: 11-11-2012, 12:40 AM
  4. Add a range of cells based on criteria
    By ecologito in forum Excel General
    Replies: 3
    Last Post: 07-27-2011, 10:16 PM
  5. Selecting Range of Cells based on Criteria
    By gmclauchlan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2011, 12:19 PM

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