+ Reply to Thread
Results 1 to 5 of 5

Count with filter applied

  1. #1
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Count with filter applied

    Good evening
    here I am another question
    in the attached file I would need to count based on the filter applied
    on the Data sheet column F in column AC are YES / NO
    in the Test sheet starting from C20
    I would like to count and sum all the Tes
    Thanks as always
    of your help
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,109

    Re: Count with filter applied

    Hi,
    is there a connection between 'Dati' and 'Test' tab?
    what does "progr" mean? is this info taken from the other tab?

    How does filtering 'Dati' effects 'Test' tab?

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Count with filter applied

    Not sure about this, maybe try at C20

    =IFERROR(CHOOSE(MATCH(INDEX(Dati!$AC$20:AC$38,SMALL(IF(SUBTOTAL(3,OFFSET(Dati!$AC$20,ROW(Dati!$AC$20:AC$38)-ROW(Dati!$AC$20),)),ROW(Dati!$AC$20:AC$38)-ROW(Dati!$AC$19)),ROWS(C$20:C20))),{"No","Yes"},),0,MAX(C$19:C19)+1),"")

    confirm with Ctrl+Shift+Enter
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Count with filter applied

    thanks for the replies
    @belinda 200

    there is no relationship between Data sheet and Test sheet
    the prog is only a progressive numbering.
    the expected result: you should count the times the word Yes is found in column AC Data sheet by filtering the sheet in column F for some criteria in the specific case the filter is on GOL


    @bo_Ry
    in the attached file it seems to work but, it was with little data entered, increasing the data does not work anymore and I do not understand why
    see new attached file
    thanks
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Count with filter applied

    Sorry it was the final line reference
    AC $ 38

    Thanks solved

+ 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] Macro fails when filter is already applied
    By jmanp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2016, 02:00 PM
  2. [SOLVED] Checking if filter is applied
    By Niclal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-09-2014, 07:48 AM
  3. Replies: 3
    Last Post: 06-28-2013, 10:30 AM
  4. [SOLVED] ShowAll comes up with error despite there being a filter applied...
    By PinkMafia14 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-05-2013, 10:34 AM
  5. [SOLVED] Count Unique function in sheet with data filter applied
    By TedH in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-28-2013, 11:39 PM
  6. Replies: 0
    Last Post: 04-18-2011, 02:22 PM
  7. [SOLVED] how do i identify first and last row once filter applied
    By pete the greek in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-21-2006, 12:25 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