+ Reply to Thread
Results 1 to 5 of 5

Issue Pulling Correct Data from Index Function

  1. #1
    Registered User
    Join Date
    09-20-2016
    Location
    Virginia, United States
    MS-Off Ver
    2013
    Posts
    2

    Issue Pulling Correct Data from Index Function

    I am using Large and Small functions to pull a Top 5 and Bottom 5 list from my data. However, if a value from those functions matches another in my original data set (aka, tied for 2nd) my Index Function tied to the value only finds the first time the tied value occurs in the array.
    Example:

    Index Index Small
    Name A 9 0.4%
    Name B 0 0%
    Name B 0 0%

    But it should be
    Index Index Small
    Name A 9 0.4%
    Name B 0 0%
    Name C 0 0%

    How can I get it to pull all the names with the same data, also accounting for the fact that the data will change (I update every day) and there may not be ties anymore?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Issue Pulling Correct Data from Index Function

    One way to do it is with a helper column. Typically, you need to take the value to ranked and add a very small number to it. I would normally add ROW()/1000000. Then you rank and match against the helper column.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Issue Pulling Correct Data from Index Function

    Hi,

    Have you considered using pivot tables?
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Issue Pulling Correct Data from Index Function

    Please upload a sample workbook for an example.

  5. #5
    Registered User
    Join Date
    09-20-2016
    Location
    Virginia, United States
    MS-Off Ver
    2013
    Posts
    2

    Re: Issue Pulling Correct Data from Index Function

    Yes, I actually used those before this, but using Index immensely simplifies my reports, plus it automatically updates whenever I add new data whereas pivot tables don't do that. Where I use this for my work things are constantly changing and pivot tables are harder to keep up to date. Plus for some names, there is No Data so if I use a pivot and sort by smallest and to a Bottom 5, it puts those at the bottom instead of the true values that I want to see.

+ 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. Index Match Formula Not Pulling Correct Results
    By derivative2016 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-23-2016, 12:54 PM
  2. Index Match Formula Not Pulling Correct Results
    By derivative2016 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-23-2016, 10:33 AM
  3. Index match formula is not pulling the correct data
    By thomashasler in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-20-2015, 03:14 PM
  4. Issue with INDEX formula not pulling all information in
    By Aly1978 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-07-2014, 01:53 PM
  5. INDEX ROW Not Pulling Correct Data
    By autoworke in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-29-2013, 03:16 PM
  6. Replies: 2
    Last Post: 03-03-2013, 12:06 PM
  7. Index Match not pulling in correct info
    By jeremiahbret in forum Excel General
    Replies: 1
    Last Post: 02-07-2012, 03:48 PM

Tags for this Thread

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