+ Reply to Thread
Results 1 to 6 of 6

I have result of small function but now need corresponding value from result of small func

  1. #1
    Registered User
    Join Date
    08-07-2018
    Location
    London
    MS-Off Ver
    Mac v16.53
    Posts
    25

    Exclamation I have result of small function but now need corresponding value from result of small func

    Hi

    I have small (nth) value and then trying to result corresponding data from another column.
    If you look at the attached, I'm struggling to get the correct data in Cell B2:B11. I've manually entered the data for your reference.

    More details:
    C2:C15 - I've done a lookup for agent (A14), TAM, and using Small function to rank the value (H:H) for various companiesG:G)
    Then, B2:B11, I'm trying to find the companies associated to result in C2:C11

    Thanks.
    Attached Files Attached Files
    Last edited by adipa; 02-21-2019 at 01:02 PM.

  2. #2
    Registered User
    Join Date
    08-07-2018
    Location
    London
    MS-Off Ver
    Mac v16.53
    Posts
    25

    Re: I have result of small function but now need corresponding value from result of small

    If anyone needs any further info to be able to help, please let me know. Thanks

  3. #3
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: I have result of small function but now need corresponding value from result of small

    Put into B2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and accept with Ctrl+Shift+Enter (is array formula, you should see {} around it) and drag it down.
    Should works.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  4. #4
    Registered User
    Join Date
    08-07-2018
    Location
    London
    MS-Off Ver
    Mac v16.53
    Posts
    25

    Re: I have result of small function but now need corresponding value from result of small

    Hi KOKOSEK

    Thanks a lot for your suggestion, this is good.
    However, the problem occurs when there are two results for the same criteria. See the attached where value is 2 for company B & R, and agent is the same. The result in column C is correct with '2' in cell C3 and C4, however, company is the same, in cell B3 & B4
    Attached Files Attached Files

  5. #5
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: I have result of small function but now need corresponding value from result of small

    Please try at
    B2
    =INDEX(G:G,AGGREGATE(15,6,ROW($F$2:$F$35)/($F$2:$F$35=A$14)/($H$2:$H$35=C2),COUNTIF(C$2:C2,C2)))
    C2
    =AGGREGATE(15,6,$H$2:$H$35/($F$2:$F$35=A$14),A2)

    Drag B2:C2 down

  6. #6
    Registered User
    Join Date
    08-07-2018
    Location
    London
    MS-Off Ver
    Mac v16.53
    Posts
    25

    [SOLVED]: I have result of small function but now need corresponding value from result

    Quote Originally Posted by Bo_Ry View Post
    Please try at
    B2
    =INDEX(G:G,AGGREGATE(15,6,ROW($F$2:$F$35)/($F$2:$F$35=A$14)/($H$2:$H$35=C2),COUNTIF(C$2:C2,C2)))
    C2
    =AGGREGATE(15,6,$H$2:$H$35/($F$2:$F$35=A$14),A2)

    Drag B2:C2 down
    Thank you so much for this, works great!

+ 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 Match for a small table lookup
    By slvrbktom in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 09-05-2018, 06:08 PM
  2. [SOLVED] Combining INDEX/MATCH with several criteria and INDEX/SMALL
    By Dresas in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-15-2018, 11:02 AM
  3. [SOLVED] tie scores (stopping/skipping duplicates) using index/match plus small function
    By Mrjpjones in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-06-2016, 02:13 PM
  4. Match Index, Small Index with Concatenate
    By kharding15 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-30-2015, 05:38 PM
  5. [SOLVED] Help Requested with Nested Small Function Inside Index/Match Formula
    By trandle in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-26-2015, 10:07 AM
  6. UDF Lookup function as an alternative to array functions & match/index
    By Andrew_Harris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-15-2012, 09:34 PM
  7. [SOLVED] Index & Match Alternative?
    By jeversf in forum Excel General
    Replies: 2
    Last Post: 04-02-2012, 01:58 AM

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