+ Reply to Thread
Results 1 to 4 of 4

Top 5 formula that returns the content (text) of cell that EXCLUDES filtered/hidden cells

  1. #1
    Registered User
    Join Date
    07-21-2011
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007/2010
    Posts
    11

    Top 5 formula that returns the content (text) of cell that EXCLUDES filtered/hidden cells

    EDIT: I am not at all opposed to an entirely new formula -- whatever gets the job done.
    Hi all,

    I found this array formula lurking around the forums which generates the top 5 most frequent cells (text -- not numeric) in a range of data:

    {=INDEX($B:$B,SMALL(IF(COUNTIF($B$2:$B$4312,$B$2:$B$4312)=LARGE(COUNTIF($B$2:$B$4312,$B$2:$B$4312),SUM(COUNTIF($B$2:$B$4312,$C$9:C10))+1),IF(ISNA(MATCH($B$2:$B$4312,$C$9:C10,0)),ROW($B$2:$B$4312))),1))}

    It works perfectly, however it *includes* the hidden cells that have been filtered by Excel -- I need them excluded from the top 5 hits.

    I need a formula (only a formula with my constraints -- no UDF or similar please) that will excludes any filtered out cells from the range above (B2 through B4312).

    I have looked and have not been able to get a formula to do this although I believe SUBTOTAL and Offset are part of the mix, but I need some definitive formulas to try please!


    Thanks so much in advance.
    Last edited by kwondra34; 11-05-2012 at 08:55 PM.

  2. #2
    Registered User
    Join Date
    07-21-2011
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007/2010
    Posts
    11

    Re: Top 5 formula that returns the content (text) of cell that EXCLUDES filtered/hidden ce

    Anyone have an idea? Thanks in advance!

  3. #3
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Top 5 formula that returns the content (text) of cell that EXCLUDES filtered/hidden ce

    Hi kwondra34

    This is a cross post, forum rule "No 8. Don't cross-post without a link."

    http://www.ozgrid.com/forum/showthread.php?t=171615

  4. #4
    Registered User
    Join Date
    07-21-2011
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007/2010
    Posts
    11

    Re: Top 5 formula that returns the content (text) of cell that EXCLUDES filtered/hidden ce

    My apologies Kevin -- when I originally posted I had not reached out to additional forums for help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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