+ Reply to Thread
Results 1 to 9 of 9

Show top 3 results...IF...

  1. #1
    Registered User
    Join Date
    05-27-2021
    Location
    London
    MS-Off Ver
    office 365
    Posts
    5

    Show top 3 results...IF...

    Hi all,

    I have the following data:

    See attached xlsx...

    As you can see I am trying to show the top 3 accounts that have the highest number of staff (note the duplicate value of 20 for rows 4 and 8), and IF the account is active.
    I have tried many different methods of doing this, index/match/large/if..............Large(filter(if......... (CSE formulas), but I'm just not getting the desried results.

    Any help would be extremely welcome...

    Regards,

    MBP
    Attached Files Attached Files
    Last edited by Matt BP; 05-27-2021 at 10:13 AM.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365, rarely 2007
    Posts
    12,664

    Re: Show top 3 results...IF...

    Hello Matt BP. Welcome to the forum.

    Please attach the workbook that pasted copy comes from. It saves retyping data you already have. The instructions for doing so are in a gold banner at the top of each page here.
    Dave

  3. #3
    Registered User
    Join Date
    05-27-2021
    Location
    London
    MS-Off Ver
    office 365
    Posts
    5

    Re: Show top 3 results...IF...

    Thanks for the welcome..., xlsx uploaded!!!
    Last edited by Matt BP; 05-27-2021 at 10:22 AM.

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Malaysia
    MS-Off Ver
    365 & WPS(2022)
    Posts
    2,034

    Re: Show top 3 results...IF...

    Pls Select F2:F5 area, array formula

    HTML Code: 
    =INDEX(A:A,-MOD(LARGE(($B$2:$B$10="Yes")*$C$2:$C$10*1000-ROW($2:$10),ROW($1:$3)),-1000))
    Attached Files Attached Files
    Last edited by wk9128; 05-27-2021 at 11:31 AM.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    12,053

    Re: Show top 3 results...IF...

    Another option
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    05-27-2021
    Location
    London
    MS-Off Ver
    office 365
    Posts
    5

    Re: Show top 3 results...IF...

    Quote Originally Posted by wk9128 View Post
    Pls Select F2:F5 area, array formula

    HTML Code: 
    =INDEX(A:A,-MOD(LARGE(($B$2:$B$10="Yes")*$C$2:$C$10*1000-ROW($2:$10),ROW($1:$3)),-1000))
    Works perfectly - many thanks to you...

  7. #7
    Registered User
    Join Date
    05-27-2021
    Location
    London
    MS-Off Ver
    office 365
    Posts
    5

    Re: Show top 3 results...IF...

    Quote Originally Posted by Fluff13 View Post
    Another option
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Works perfectly - many thanks to you...

  8. #8
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Malaysia
    MS-Off Ver
    365 & WPS(2022)
    Posts
    2,034

    Re: Show top 3 results...IF...

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'.

  9. #9
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    12,053

    Re: Show top 3 results...IF...

    Glad to help & thanks for the feedback

+ 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. Replies: 1
    Last Post: 07-01-2020, 08:50 PM
  2. How can I show the results of the following code?
    By msaunde2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-29-2017, 04:47 AM
  3. Search given value in row(and show all results)
    By SeRoMaRu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2014, 07:29 AM
  4. [SOLVED] Using VLookup but results show formula instead of results...
    By excel me in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 11-28-2013, 09:40 PM
  5. show only last 4 lab results
    By secoo140 in forum Excel General
    Replies: 2
    Last Post: 10-30-2013, 02:28 PM
  6. How to Show ALT+ results
    By PosseJohn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-29-2013, 03:35 PM
  7. Replies: 6
    Last Post: 08-29-2005, 07:05 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