+ Reply to Thread
Results 1 to 9 of 9

Index/Match In Combo w/ Percentile.INC

  1. #1
    Registered User
    Join Date
    08-09-2017
    Location
    Dallas
    MS-Off Ver
    2016
    Posts
    4

    Index/Match In Combo w/ Percentile.INC

    Scenario:

    Column A Column B Column C. Column D (Percentile Min) Percentile 10% Percentile 20%
    Aetna Dr. 1 54% Aetna 0.0 .10 .20
    Aetna Dr. 2 53% Aetna
    Aetna Dr. 3 60% Aetna
    Aetna Dr. 4 82% Aetna



    L8 M8 N8
    Aetna Cigna UHC

    =Percentile.Inc(Index($C:$C, Match($L8, $D:$D, 0)), .2)

    Problem is this formula only returns the first value available in the index. So for example this formula yields 54% for the percentile min of 0 when it should be 53%. Thoughts?

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Index/Match In Combo w/ Percentile.INC

    I have no idea what s meant to be in which cell.

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    08-09-2017
    Location
    Dallas
    MS-Off Ver
    2016
    Posts
    4

    Re: Index/Match In Combo w/ Percentile.INC

    I hope this works (see attached)

    My desire is not for the index/match to return the first value available but to actually run the percentile.inc formula on the array which is specific to (in this case Aetna).
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    08-09-2017
    Location
    Dallas
    MS-Off Ver
    2016
    Posts
    4

    Re: Index/Match In Combo w/ Percentile.INC

    Please let me know if there are any issues with the attachment, it's just a small sample size.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Index/Match In Combo w/ Percentile.INC

    Attachment is fine - please be patient. Someone will take a look in due course.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Registered User
    Join Date
    08-09-2017
    Location
    Dallas
    MS-Off Ver
    2016
    Posts
    4

    Re: Index/Match In Combo w/ Percentile.INC

    I appreciate it, and good to be part of a shared knowledge group

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Index/Match In Combo w/ Percentile.INC

    Hi.

    Use this array formula:

    =PERCENTILE.INC(IF($A$2:$A$13=$E$19,$C$2:$C$13,""),E14)

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    06-26-2018
    Location
    US
    MS-Off Ver
    2016
    Posts
    1

    Re: Index/Match In Combo w/ Percentile.INC

    Hello Glenn,

    I found this thread when trying to look for solution for my spreadsheet problem.

    I am trying to do something similar, except that I need to extract rows based on more than one criteria.

    So I tried using this formula:
    =PERCENTILE.INC(IF(AND(CT_Query!$A:$A=G1, CT_Query!$B:$B=G2, $C:$C=G3), $E:$E), 0.5)

    F G
    Route 2
    Direction North
    Segment 14_15

    An example of how my raw data is structured is: Capture.JPG

    When I execute Control-Shift-Enter, I got a 0 value. Can you help me find out what is wrong?

    Thanks a lot in advance!

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Index/Match In Combo w/ Percentile.INC

    Hello y.emily and Welcome to Excel Forum.
    You are posting to a thread that is 11 months old and is probably no longer being monitored. Please start a new thread and include a link to this one as it contains information that is relevant to your query. I would also suggest that when you post in the new thread you upload a spreadsheet that includes the data shown in post #8. To upload a spreadsheet click on the GO ADVANCED button below the Quick Reply window and then scroll down to Manage Attachments to open the upload window.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Possible to make a UDF for the INDEX MATCH combo function?
    By danemcneill in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-08-2017, 02:11 PM
  2. Index, Match, If / And, Combo Box used in Conjunction??
    By childs71 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-07-2015, 08:35 AM
  3. Index, Match, If, and Combo Box Working in Conjunction??
    By childs71 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-03-2015, 09:01 AM
  4. Index, Match, If, and Combo Box Working in Conjunction??
    By childs71 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-03-2015, 08:14 AM
  5. Three Way Lookup Using Index Match Combo
    By nathanhamilton82 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-07-2012, 03:39 PM
  6. Dependent Percentile Formula in Table with Nested Lookup or Index Match?
    By chogan in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-11-2010, 06:34 PM
  7. Lookup, Index, Match ... Not sure which combo will do it?
    By nikko4239 in forum Excel General
    Replies: 4
    Last Post: 06-08-2010, 06:32 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