+ Reply to Thread
Results 1 to 2 of 2

Matching Data from 2 columns

  1. #1
    Registered User
    Join Date
    07-27-2007
    Posts
    36

    Matching Data from 2 columns

    Hi All,

    I am trying to use a function to look at the data from 4 columns:

    Name
    Number of Times Attended
    Total Score
    Average

    Now I want to return the name of the person with the largest average who has attended at least 5 times.

    I have tried a few things but can't seem to do what I want. Any help would be much appreciated.

    DeeLaa77

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Say your data is in the range A1:D5, with headings in row 1, and data in the other rows, then try

    =INDEX(A1:A5,SUMPRODUCT(--(B1:B5>=5),--(D1:D5=MAX(IF(B1:B5>=5,D1:D5))),ROW(D1:D5)))

    This formula is to be array entered (ctrl, shift, enter)


    rylo

+ 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