+ 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 Moderator
    Join Date
    05-14-2009
    Location
    RDC
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    7,039

    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
    Northern Ireland
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    20,712

    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



  4. #4
    Valued Forum Contributor Sadath31's Avatar
    Join Date
    03-02-2011
    Location
    Dammam,KSA
    MS-Off Ver
    Excel 2017
    Posts
    420

    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)

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