+ Reply to Thread
Results 1 to 2 of 2

Complex countif of array elements

  1. #1
    Biff
    Guest

    Complex countif of array elements

    Hi Folks!

    This is extremely difficult to try to explain, so ........

    I have this portion of an array formula:

    SMALL(IF(OFFSET(INDEX($A$2:$A$10,MATCH($A13,$A$2:$A$10,0)),,4,,-4)=MAX($B$2:$E$10),COLUMN($B1:$E1)-COLUMN($B1)+1)

    For each element of::

    OFFSET(INDEX($A$2:$A$10,MATCH($A13,$A$2:$A$10,0)),,4,,-4)

    The formula returns an array like:

    1,1,FALSE,1

    Does anybody know a way to count the nth SMALL value generated in that
    array?

    Something like:

    SMALL({1,1,FALSE,1},1) = 3

    Biff




  2. #2
    Biff
    Guest

    Re: Complex countif of array elements

    Ooops!

    Disregard, I posted the wrong formula!

    Biff

    "Biff" <[email protected]> wrote in message
    news:%[email protected]...
    > Hi Folks!
    >
    > This is extremely difficult to try to explain, so ........
    >
    > I have this portion of an array formula:
    >
    > SMALL(IF(OFFSET(INDEX($A$2:$A$10,MATCH($A13,$A$2:$A$10,0)),,4,,-4)=MAX($B$2:$E$10),COLUMN($B1:$E1)-COLUMN($B1)+1)
    >
    > For each element of::
    >
    > OFFSET(INDEX($A$2:$A$10,MATCH($A13,$A$2:$A$10,0)),,4,,-4)
    >
    > The formula returns an array like:
    >
    > 1,1,FALSE,1
    >
    > Does anybody know a way to count the nth SMALL value generated in that
    > array?
    >
    > Something like:
    >
    > SMALL({1,1,FALSE,1},1) = 3
    >
    > Biff
    >
    >
    >




+ 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