+ Reply to Thread
Results 1 to 4 of 4

subtotal sumif filter using Filter

  1. #1
    Registered User
    Join Date
    10-19-2016
    Location
    dubai
    MS-Off Ver
    2007
    Posts
    4

    subtotal sumif filter using Filter

    Hi all

    Is there a sumif subtotal forumula? I would like sum the total time greater than 6:30 AM in a column,
    but the total should change after filtering the respective projects id.
    if the checkin time is greater than scheduled checkin then the output should the total sum of the more than scheduled checkin time.

    Project ID Check in Check Out Scheduled Check IN
    1 6:02 AM 11:01 AM 6:30 AM
    1 6:54 AM 12:01 AM 6:30 AM
    2 6:01 AM 10:59 AM 6:30 AM
    2 6:36 AM 9:26 AM 6:30 AM
    3 6:33 AM 11:02 AM 6:30 AM
    3 6:22 AM 11:02 AM 6:30 AM
    3 6:40 AM 10:31 AM 6:30 AM


    Example:
    if i filter project id 3 then i should get a sum value of 0.10 minutes.

    Thank you.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: subtotal sumif filter using Filter

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: subtotal sumif filter using Filter

    I'm a bit confused, as I don't see how you get 10 minutes from that...

    Maybe:

    =MAX(0,SUMPRODUCT(SUBTOTAL(9,OFFSET(B2:B8,ROW(B2:B8)-ROW(B2),0,1)))-SUMPRODUCT(SUBTOTAL(9,OFFSET(D2:D8,ROW(D2:D8)-ROW(D2),0,1))))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Valued Forum Contributor Sadath31's Avatar
    Join Date
    03-02-2011
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Office 365
    Posts
    452

    Re: subtotal sumif filter using Filter

    Hi

    Please check the attached file,
    Attached Files Attached Files

+ 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. Subtotal and Filter
    By marshak in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2018, 11:19 PM
  2. [SOLVED] Sumproduct/Sumif/Subtotal with a Filter
    By wf44 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-27-2014, 11:12 AM
  3. filter and subtotal
    By lkdewald in forum Excel General
    Replies: 3
    Last Post: 09-29-2011, 03:38 PM
  4. filter and subtotal
    By MLC2 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-23-2011, 04:36 PM
  5. Filter and subtotal
    By rajendrakc in forum Excel General
    Replies: 5
    Last Post: 06-03-2010, 09:52 AM
  6. Formula : SUMIF & SUBTOTAL after filter?
    By Overdoit in forum Excel General
    Replies: 3
    Last Post: 07-09-2008, 03:22 PM
  7. [SOLVED] SUBTOTAL and FILTER
    By confused in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-21-2006, 09:10 AM

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