+ Reply to Thread
Results 1 to 8 of 8

Handling Duplicate Entries with Index/Match/Large in Column Data

  1. #1
    Registered User
    Join Date
    09-04-2013
    Location
    Tennessee
    MS-Off Ver
    Excel 2011
    Posts
    6

    Handling Duplicate Entries with Index/Match/Large in Column Data

    I have a worksheet for tallying attrition occurrences for various teams. Currently, I have two columns that are meant to calculate the largest and second largest occurrence and concatenate the reason with the % of the total attrition for the team. The first of the two columns does fine, but when the second column is faced with two reasons with the same number of occurrences, it will always return the same value as the first column.

    I've seen a number of threads for dealing with this when the data is formatted in in rows, but mine has to be in columns like this. I've provided the dummy data of what it is currently doing, along with the second sheet that displays what I am trying to get it to do. Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    19,003

    Re: Handling Duplicate Entries with Index/Match/Large in Column Data

    This solution employees a helper table,D11:J18 , which can be hidden for aesthetic purposes. The formula for the helper column cells is in the form:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    The formula for the second reason is then modified to read:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Let me know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,742

    Re: Handling Duplicate Entries with Index/Match/Large in Column Data

    Another way.

    Try array-entering this formula in B2 and fill down and across.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Dave

  4. #4
    Forum Contributor
    Join Date
    11-21-2013
    Location
    zimbabwe
    MS-Off Ver
    Excel 2003
    Posts
    125

    Re: Handling Duplicate Entries with Index/Match/Large in Column Data

    you can apply the following formula
    Please Login or Register  to view this content.
    confirm with ctrl+shift+enter

  5. #5
    Forum Contributor
    Join Date
    11-21-2013
    Location
    zimbabwe
    MS-Off Ver
    Excel 2003
    Posts
    125

    Re: Handling Duplicate Entries with Index/Match/Large in Column Data

    you can apply the following formula
    Please Login or Register  to view this content.
    confirm with ctrl+shift+enter

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    19,003

    Re: Handling Duplicate Entries with Index/Match/Large in Column Data

    Yet one more array entered formula, for B2 across and down, that will not require the use of a 'helper':
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let me know if you have any questions.
    Last edited by JeteMc; 08-12-2016 at 09:46 AM. Reason: Updated formula

  7. #7
    Registered User
    Join Date
    09-04-2013
    Location
    Tennessee
    MS-Off Ver
    Excel 2011
    Posts
    6

    Re: Handling Duplicate Entries with Index/Match/Large in Column Data

    Thanks everyone for the quick replies. I tried each of your solutions, and was able to make each work with my real data. I decided on FlameRetired's solution for now. We'll see how performance is in the bigger file down the road. You are all awesome!

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,742

    Re: Handling Duplicate Entries with Index/Match/Large in Column Data

    TwiceBorn,

    You're welcome. Glad all solutions work. Thanks for the feedback and the rep.

+ 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] INDEX, MATCH & LARGE trouble with duplicate values
    By paulstuartbullock in forum Excel General
    Replies: 4
    Last Post: 08-04-2015, 11:17 PM
  2. [SOLVED] Help with Index/Match/Large problem with duplicate values
    By enphynity in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-31-2013, 09:56 AM
  3. [SOLVED] Index and Match duplicate entries
    By pauldaddyadams in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2013, 07:04 AM
  4. Index, Match, Large Function returning duplicate names
    By RNeel55 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-08-2013, 04:09 PM
  5. LARGE function handling dupicates returning an index
    By RalphExcel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-03-2013, 09:55 AM
  6. Replies: 0
    Last Post: 06-14-2012, 12:38 PM
  7. handling duplicate entries
    By sania tariq in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2012, 12:13 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