+ Reply to Thread
Results 1 to 7 of 7

Excluding Cells From an Array!

  1. #1
    Forum Contributor
    Join Date
    11-12-2014
    Location
    Boston, MA
    MS-Off Ver
    Office 2010
    Posts
    172

    Excluding Cells From an Array!

    Hi,
    I have a list of my team of 12 people, and next to it their total sales, among other data. I want to create, on a separate sheet, a leaderboard list. So it will just automatically sort everyone from most sales to least sales. The problem I'm having is if two people have the same sales, it will only report the person who is higher on the original list, I don't want this. I should also mention the original list cannot be re-ordered.

    The formulas I'm currently using:
    For top salesman: =INDEX($B:$B,MATCH(MAX($F$2:$F$13),$F:$F,0))
    For the next 10: =(INDEX($B:$B,MATCH(LARGE($F:$F,2),$F:$F,0))) *Note- I have changed the large to 3, 4, 5, etc for each row
    For the lowest salesman: =(INDEX($B:$B,MATCH(SMALL($F:$F,1),$F:$F,0)))

    I imagine I'll need to do something like =IF(A2=A1, find second in lookup list, use original formula)

    Thank you!

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Excluding Cells From an Array!

    Without an uploaded workbook I'll hazard some guesses.

    The attached workbook w/ examples have the following formulas:

    Edit: BTW This solution works from right to left (column H then column G); admittedly a bit counter intuitive, but in cases like this it works.

    In H2 enter and fill down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In G2 array-enter this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Array enter means the formula is committed with Ctrl + Shift + Enter and not simply enter.
    Fill down.


    Is this useful?
    Attached Files Attached Files
    Last edited by FlameRetired; 12-12-2014 at 12:14 PM.

  3. #3
    Forum Contributor
    Join Date
    11-12-2014
    Location
    Boston, MA
    MS-Off Ver
    Office 2010
    Posts
    172

    Re: Excluding Cells From an Array!

    I can't seem to get the array formula right. I'm hitting ctrl+shift+enter but it's just displaying the array formula as text

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Excluding Cells From an Array!

    Is it possible that Show Formulas is turned on?

  5. #5
    Forum Contributor
    Join Date
    11-12-2014
    Location
    Boston, MA
    MS-Off Ver
    Office 2010
    Posts
    172

    Re: Excluding Cells From an Array!

    No, it is showing non-array formulas. It's just the array formula I'm struggling with

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Excluding Cells From an Array!

    Can you post a sample workbook that shows us what is happening? It will help us identify other possible causes.

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excluding Cells From an Array!

    Perhaps this will help you solve your problem. I used a helper column on sheet1 to rank the sales with this formula entered in Sheet1 H2 and copied down. This took the ranking and added 1 to any ties so that tied sales could be handled as if they were uniquely ranked. In the SalseRanking worksheet the tied sales are brought together in the order that they are found in, in the main data on Sheet1.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. [SOLVED] excluding a part of an array formula
    By twiggywales in forum Excel General
    Replies: 2
    Last Post: 05-25-2012, 11:02 AM
  2. Frequency Array Excluding Zeros
    By basalganglia in forum Excel General
    Replies: 7
    Last Post: 11-20-2011, 04:28 PM
  3. Array average excluding zeros
    By ChrisNor in forum Excel General
    Replies: 5
    Last Post: 12-06-2010, 08:55 AM
  4. Sumproduct excluding an Array
    By Odysseus in forum Excel General
    Replies: 4
    Last Post: 12-16-2009, 12:42 PM
  5. Replies: 0
    Last Post: 02-01-2005, 12:02 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