+ Reply to Thread
Results 1 to 37 of 37

Index Match formula help

  1. #1
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Index Match formula help

    Dear Experts,

    Please find here attached sample workbook, The formula which i am currently using is giving only the unique sales person name in Sheet1 tab from Cell G10:G12, I am currently looking for the Index Match with Highest value and accordingly i want to appear first that sales person name according to their ascending to descending sales order.

    The expected results have been given in Sheet1 tab from Cell K10:K12.

    Request to you kindly do provide your precious expertise on the same. Your valuable support would be appreciated.

    Many thanks and kind regards,

    Neilesh

    Sample Workbook.xlsx

  2. #2
    Banned User!
    Join Date
    09-26-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    607

    Re: Index Match formula help

    I hope this is what you had in mind:

    {=IFERROR(INDEX(Sheet2!$M$3:$M$10,MATCH(Sheet1!$G16,Sheet2!$D$3:$D$10,0)),"")}

    CTRL+SHIFT+ENTER for the curly brackets
    Attached Files Attached Files

  3. #3
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Hi Billy, Thank you so much for your precious phase and valuable support. I do have formula already provided in my sample workbook, I am looking for the formula to arrange from ascending to descending order based on their total Sales Value. I hope you are getting my expectations. from Cell K10:K12 in Sheet1 i have provided the expected results.

    Request to you please do help me out.

    Many thanks and kind regards,

    Neilesh

  4. #4
    Banned User!
    Join Date
    09-26-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    607

    Re: Index Match formula help

    All you have to do is arrange the sales people in the order of your choosing. Then the array will match the value to that salesperson in the adjacent column. I put the example below your table. If you want I can put in the appropriate cells for you.

  5. #5
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Is there any way that by using the formula Sales Person name with the highest sales number will come at the top and then according the rest other sales person will appear according to the sales numbers order.

  6. #6
    Banned User!
    Join Date
    09-26-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    607

    Re: Index Match formula help

    I changed the 2nd table to show how to sort highest to lowest.
    Attached Files Attached Files

  7. #7
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Dear Billy, In the provided solution i needs to create two separate tables for sorting the highest sales value, sales person name. Is there any way to upgrade the current formula in Sheet1 cell G10:G12. so the Sales person name will arrange in ascending order by their Sales numbers.

  8. #8
    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 formula help

    Are your expected results... AS WELL AS the table on the left...or INSTEAD OF the table on the left?
    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

  9. #9
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Dear Experts,

    I found a formula but it is not exactly what i am looking for because it is not providing in the descending order but it is giving the fixed result only a top sales person name. So can you please do upgrade with my current requirement.

    Please Login or Register  to view this content.
    Many thanks and kind regards,

    Neilesh

  10. #10
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Quote Originally Posted by Glenn Kennedy View Post
    Are your expected results... AS WELL AS the table on the left...or INSTEAD OF the table on the left?
    Dear Expert,

    In my expected results Cell K10:K12 i am looking for the Sales person name from the highest sales value to the Descending order.

  11. #11
    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 formula help

    That does not answer my question. I understand what you want.... Can the results be calculated from the table on the left, or must they be calculated from the raw data?

  12. #12
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Sir i am expecting from the raw data.

  13. #13
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Index Match formula help

    How about =INDEX(Sheet2!D:D,MATCH(LARGE(Sheet2!$M$3:$M$14,ROW(A1)),Sheet2!M:M,0)) for the Sale person name
    and =INDEX(Sheet2!M:M,MATCH(LARGE(Sheet2!$M$3:$M$14,ROW(A1)),Sheet2!M:M,0)) for the net license Rev.

  14. #14
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Dear Finalazy it is not summing up the numbers, In case if the sales person name is repeating. Can you please look into the same.
    Last edited by Neilesh Kumar; 01-29-2018 at 09:39 AM.

  15. #15
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Index Match formula help

    Quote Originally Posted by Neilesh Kumar View Post
    Dear Finalazy it is not summing up the numbers, In case if the sales person name is repeating. Can you please look into the same.
    You are welcome. Thanks to billy, i just tweaked a bit of his formula. Do help to change the thread to solve =)

  16. #16
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Quote Originally Posted by finalazy View Post
    How about =INDEX(Sheet2!D:D,MATCH(LARGE(Sheet2!$M$3:$M$14,ROW(A1)),Sheet2!M:M,0)) for the Sale person name
    and =INDEX(Sheet2!M:M,MATCH(LARGE(Sheet2!$M$3:$M$14,ROW(A1)),Sheet2!M:M,0)) for the net license Rev.
    Dear Finalazy, The provided formula is repeating the sales persons name based on their row value. Is it possible to sum up with a single sales person name.

  17. #17
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Index Match formula help

    Hi Neilesh,

    I don't think thats possible without a few more column beside the table. VBA may be able to do it though. Another way is to use the consolidate function at the tool bar

    HTML Code: 

  18. #18
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Dear Finalazy, I found the formula which I have provided in my current thread but only the matter is the found formula is providing with the top sales person name n not the rest others.

  19. #19
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Index Match formula help

    Hi Neilesh,

    without additional helper column, i'm not sure how i can remove the duplicates. But i tweaked it to show the top sales name with his Final net license rev only first.

    try putting this at Sales person column =INDEX(Sheet2!$D$3:$D$1000,MATCH(LARGE(SUMIF(Sheet2!$D$3:$D$1000,Sheet2!$D$3:$D$1000,Sheet2!$M$3:$M$1000),ROW(A1)),SUMIF(Sheet2!$D$3:$D$1000,Sheet2!$D$3:$D$1000,Sheet2!$M$3:$M$1000),0)) CTRL SHIFT ENTER

    then Net License Rev
    =SUMIFS(Sheet2!M:M,Sheet2!D:D,R14) <--- note on the R14, change it the cell that you paste for the sales person. Example K16. It will get the final net sum only for the sales person.
    Last edited by finalazy; 01-29-2018 at 12:07 PM.

  20. #20
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Dear Finalazy, Its providing the results but it is not removing the duplicates. In my actual working sheet Sales person names are getting repeat but in the provided sample workbook in the forum i have not repeated the Sales person names.

  21. #21
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    I feel including Countif in the formula may work but i am not sure how to mix with the formula

  22. #22
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Index Match formula help

    Hi Neilesh,

    I agree countif will work it out but I will require additional column. I'm not sure how it can mix it in one formula as well.
    Maybe this video can give you some idea. https://www.youtube.com/watch?v=IZLAzIYfMDU
    Last edited by finalazy; 01-29-2018 at 02:33 PM.

  23. #23
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Hi Finalazy, Thank you for your precious support but the provided link does not work for me. Thank you so much once again.

  24. #24
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842
    Quote Originally Posted by finalazy View Post
    Hi Neilesh,

    I agree countif will work it out but I will require additional column. I'm not sure how it can mix it in one formula as well.
    Maybe this video can give you some idea. https://www.youtube.com/watch?v=IZLAzIYfMDU
    Hi Finalazy, can you please add a required column n do provide the formula incl Countif.

  25. #25
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Index Match formula help

    Hi Neilesh,

    Added few column at sheet 2. See if this work out for you.
    Attached Files Attached Files

  26. #26
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Quote Originally Posted by finalazy View Post
    Hi Neilesh,

    Added few column at sheet 2. See if this work out for you.
    Hi Finalazy, Thank you so much for your Valuable support and precious phase. The provided solution is working perfect but it requires to change lot of formulae in my Dashboard, which contains approx. 12 Tabs. Once again thank you so much.

    So there is no way to arrange the Sales Rep. names based on their Sales value in ascending to descending order.

  27. #27
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Index Match formula help

    Which sheet(s)/"Sales Rep" columns: do you mean "Sheet2" should be reordered by "Sales Value"?

  28. #28
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Quote Originally Posted by JohnTopley View Post
    Which sheet(s)/"Sales Rep" columns: do you mean "Sheet2" should be reordered by "Sales Value"?
    Dear Expert, Please find here attached Sample Workbook, where i am expecting the formula in Sheet1 Cell K10:12 Sales persons unique name in from top sales person to descending order by their total Sales from Sheet2.

    Request to you please do help me out. Many thanks and kind regards,

    Neilesh

    Sample Workbook_1.xlsx

  29. #29
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    I found a formula but this is fixed with the top sales person name and not giving in descending order Sales person name.

    Please Login or Register  to view this content.

  30. #30
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Index Match formula help

    Hi Neilesh,

    try this sample. I think this is what you looking for.
    Attached Files Attached Files
    Last edited by finalazy; 01-30-2018 at 11:11 AM.

  31. #31
    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 formula help

    Name (array):
    =INDEX(Sheet2!$D$3:$D$1000,MATCH(LARGE(SUMIF(Sheet2!$D$3:$D$1000,Sheet2!$D$3:$D$1000,Sheet2!$k$3:$K$1000),ROWS(M$10:M10)),SUMIF(Sheet2!$D$3:$D$1000,Sheet2!$D$3:$D$1000,Sheet2!$M$3:$M$1000),0))

    Amount:
    =SUMIF(Sheet2!D:D,Sheet1!M10,Sheet2!M:M)
    Attached Files Attached Files

  32. #32
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Quote Originally Posted by finalazy View Post
    Hi Neilesh,

    try this sample. I think this is what you looking for.
    Awesome. Yes Dear Finalazy, Exactly the same i was looking for. Perfect Dear. Thank you so much. Really appreciate your valuable support.

    Many thanks and kind regards,

    Neilesh

  33. #33
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Quote Originally Posted by Glenn Kennedy View Post
    Name (array):
    =INDEX(Sheet2!$D$3:$D$1000,MATCH(LARGE(SUMIF(Sheet2!$D$3:$D$1000,Sheet2!$D$3:$D$1000,Sheet2!$k$3:$K$1000),ROWS(M$10:M10)),SUMIF(Sheet2!$D$3:$D$1000,Sheet2!$D$3:$D$1000,Sheet2!$M$3:$M$1000),0))

    Amount:
    =SUMIF(Sheet2!D:D,Sheet1!M10,Sheet2!M:M)
    Awesome Dear Expert. Perfect Solution. Exactly the same i was looking for Sir.

    Many thanks and kind regards,


    Neilesh

  34. #34
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Index Match formula help

    Quote Originally Posted by Neilesh Kumar View Post
    Awesome. Yes Dear Finalazy, Exactly the same i was looking for. Perfect Dear. Thank you so much. Really appreciate your valuable support.

    Many thanks and kind regards,

    Neilesh
    Glad it helps. Do kindly help to change thread to solve =)

  35. #35
    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 formula help

    Here's a much better solution than my first effort:

    =INDEX(Sheet2!$D$3:$D$10,MATCH(L10,INDEX(SUMIFS(Sheet2!$M$3:$M$10,Sheet2!$D$3:$D$10,Sheet2!$D$3:$D$10)*(COUNTIF($K$9:$K9,Sheet2!$D$3:$D$10)=0),0),0))

    and

    =LARGE(INDEX(SUMIFS(Sheet2!$M$3:$M$10,Sheet2!$D$3:$D$10,Sheet2!$D$3:$D$10)*(COUNTIF($K$9:$K9,Sheet2!$D$3:$D$10)=0),0),1)

    both ordinary formulae.
    Attached Files Attached Files

  36. #36
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: Index Match formula help

    Quote Originally Posted by Glenn Kennedy View Post
    Here's a much better solution than my first effort:

    =INDEX(Sheet2!$D$3:$D$10,MATCH(L10,INDEX(SUMIFS(Sheet2!$M$3:$M$10,Sheet2!$D$3:$D$10,Sheet2!$D$3:$D$10)*(COUNTIF($K$9:$K9,Sheet2!$D$3:$D$10)=0),0),0))

    and

    =LARGE(INDEX(SUMIFS(Sheet2!$M$3:$M$10,Sheet2!$D$3:$D$10,Sheet2!$D$3:$D$10)*(COUNTIF($K$9:$K9,Sheet2!$D$3:$D$10)=0),0),1)

    both ordinary formulae.
    Nice Glenn. I prefer your method which does not make use of array. Much better!

  37. #37
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Index Match formula help

    Quote Originally Posted by Glenn Kennedy View Post
    Here's a much better solution than my first effort:

    =INDEX(Sheet2!$D$3:$D$10,MATCH(L10,INDEX(SUMIFS(Sheet2!$M$3:$M$10,Sheet2!$D$3:$D$10,Sheet2!$D$3:$D$10)*(COUNTIF($K$9:$K9,Sheet2!$D$3:$D$10)=0),0),0))

    and

    =LARGE(INDEX(SUMIFS(Sheet2!$M$3:$M$10,Sheet2!$D$3:$D$10,Sheet2!$D$3:$D$10)*(COUNTIF($K$9:$K9,Sheet2!$D$3:$D$10)=0),0),1)

    both ordinary formulae.
    Thank you so much Glenn Sir. I do appreciate your valuable support.

    Many thanks and kind regards,

    Neilesh

+ 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: 4
    Last Post: 04-14-2017, 07:47 PM
  2. Index Match formula changing my Index daily
    By vitt4300 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-31-2017, 02:19 PM
  3. [SOLVED] This formula works but I donīt understand why Index(Index) match
    By campelliann in forum Excel General
    Replies: 2
    Last Post: 01-25-2016, 05:55 PM
  4. Index Match Match Formula DOESN'T WORK WITH TABLES/TABLE NAMES ??
    By Underling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2014, 09:01 PM
  5. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  6. Index Match Index Formula work slow
    By avk in forum Excel General
    Replies: 9
    Last Post: 03-07-2012, 02:19 PM
  7. Replies: 5
    Last Post: 02-29-2012, 08:51 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