+ Reply to Thread
Results 1 to 6 of 6

Countif without duplicate in filtered cells

  1. #1
    Registered User
    Join Date
    02-03-2016
    Location
    Hong Kong
    MS-Off Ver
    2010
    Posts
    5

    Countif without duplicate in filtered cells

    Hi all experts,

    I have a formula as follow:
    =SUMPRODUCT((AX2:CU198>AY1-1)/COUNTIF(AX2:CU198,AX2:CU198&""))

    I want to make it only shows the result in filtered cells. Please help! Thanks very much!!!

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Countif without duplicate in filtered cells

    http://www.mrexcel.com/forum/excel-q...-function.html

  3. #3
    Registered User
    Join Date
    02-03-2016
    Location
    Hong Kong
    MS-Off Ver
    2010
    Posts
    5

    Re: Countif without duplicate in filtered cells

    Dear Tim,

    Thanks for the reference. Hope I can understand and make it after study. ^^

  4. #4
    Registered User
    Join Date
    02-03-2016
    Location
    Hong Kong
    MS-Off Ver
    2010
    Posts
    5

    Re: Countif without duplicate in filtered cells

    After several hours of study, I still can't make a right formula. The following is one I have tried, however it is surely wrong

    =SUMPRODUCT((AX2:CU198>AY1-1)/SUMPRODUCT(SUBTOTAL(3,OFFSET(AX2,ROW(AX2:CU198)-MIN(ROW(AX2:CU198)),0,1))*(AX2:CU198=AX2:CU198)*(AX2:CU198="")))

    Any masters can give me some help. Thanks!

  5. #5
    Registered User
    Join Date
    02-03-2016
    Location
    Hong Kong
    MS-Off Ver
    2010
    Posts
    5

    Re: Countif without duplicate in filtered cells

    This is not the right one too:

    =SUMPRODUCT(--(SUBTOTAL(9,OFFSET(AX2:CU198,,,,COLUMN(AX2:CU198)-COLUMN(AX2)+1))>AY1-1/SUMPRODUCT(SUBTOTAL(3,OFFSET(AX2,ROW(AX2:CU198)-MIN(ROW(AX2:CU198)),0,1))*(AX2:CU198=AX2:CU198&""))))
    Last edited by nccwhk; 02-03-2016 at 11:30 PM.

  6. #6
    Registered User
    Join Date
    02-03-2016
    Location
    Hong Kong
    MS-Off Ver
    2010
    Posts
    5

    Re: Countif without duplicate in filtered cells

    Can someone help? I really cannot solve the problem until now. Thanks!

+ 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. Countif except hidden (filtered) cells
    By Sgt. in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2012, 06:59 AM
  2. [SOLVED] How to not duplicate countif text within cells?
    By danrubi in forum Excel General
    Replies: 8
    Last Post: 08-23-2012, 09:22 AM
  3. Replies: 8
    Last Post: 07-14-2012, 10:22 AM
  4. [SOLVED] Countif on filtered rows
    By djcfisher in forum Excel General
    Replies: 4
    Last Post: 05-21-2012, 04:25 PM
  5. Hide duplicate rows from filtered data
    By Arshmaan in forum Excel General
    Replies: 2
    Last Post: 10-28-2011, 06:37 AM
  6. Help With Countif filtered list
    By alwilly45 in forum Excel General
    Replies: 1
    Last Post: 09-12-2011, 12:46 PM
  7. CountIf in Filtered Table
    By cityofnr in forum Excel General
    Replies: 4
    Last Post: 01-06-2011, 10:54 AM
  8. CountIF on Filtered data
    By Steadman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-27-2005, 07:05 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