+ Reply to Thread
Results 1 to 7 of 7

Subtotal of filtered data with one criteria

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Subtotal of filtered data with one criteria

    hi,
    i want to subtotal of my filtered data but with one criteria

    column(c) = criteria data (criteria will match with this column )
    column(d) = filtered data (filter will apply on this column )
    column(e) = sum data ( the data of this column will sum )

    for example
    i filter my range ("c10:e500")
    now i want to sum of column d with criteria "4 OL BC" , "5 OL J" , "6 OL JT"

    In below sample if i filter "aam" then the sum will be "41"
    Capture.JPG
    thank you
    Attached Files Attached Files
    Last edited by HaroonSid; 05-24-2017 at 08:35 AM.
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  2. #2
    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: Subtotal of filtered data with one criteria

    Do you mean?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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.

  3. #3
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Subtotal of filtered data with one criteria

    Thank you Fotis1991 for the reply

    but i need like this one

    Please Login or Register  to view this content.

  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: Subtotal of filtered data with one criteria

    Sorry i miss-understoond your question!

  5. #5
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Subtotal of filtered data with one criteria

    i did plus three formulas of you, after did this i am getting what i want

    any hope you do with one formula what i want

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,196

    Re: Subtotal of filtered data with one criteria

    Try

    =SUMPRODUCT((($C$11:$C$1000="4 OL BC")+($C$11:$C$1000="5 OL J")+($C$11:$C$1000="4 OL JT"))*(SUBTOTAL(109,OFFSET(E11,ROW($E$11:$E$1000)-MIN(ROW($E$11:$E$1000)),0))))

  7. #7
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Subtotal of filtered data with one criteria

    Thnk you JohnTopley and Fotis1991

    @johnTopley its working perfectly

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How can I calculate the subtotal for filtered cells that meet certain criteria?
    By jasond1992 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-28-2015, 09:23 PM
  2. [SOLVED] Forumulas for Filtered Data =SUBTOTAL(A1:A2) Etc
    By Ben1985 in forum Excel General
    Replies: 3
    Last Post: 09-03-2013, 10:39 AM
  3. [SOLVED] Using Subtotal on Filtered Data with an additional condition
    By rau in forum Excel General
    Replies: 15
    Last Post: 09-06-2012, 08:03 AM
  4. [SOLVED] How to Vlookup from filtered data / subtotal with a letter preceeding?
    By sstendahl in forum Excel General
    Replies: 3
    Last Post: 04-25-2012, 03:22 PM
  5. Subtotal a filtered range
    By mdarcey in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 05-13-2011, 04:20 AM
  6. SubTotal function. How do I keep reuse Subtotal criteria.
    By davidthegolfer in forum Excel General
    Replies: 0
    Last Post: 10-10-2006, 03:28 AM
  7. Subtotal function with Filtered Data
    By RonB in forum Excel General
    Replies: 3
    Last Post: 08-12-2005, 06:05 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