+ Reply to Thread
Results 1 to 2 of 2

Return Top N values based of Reference ID

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    canada
    MS-Off Ver
    Windows
    Posts
    20

    Return Top N values based of Reference ID

    Hi,

    I am still stumped on this top purchase list with this workbook. I made a lot of changes, moved some stuff and deleted a lot of fluff.

    Account_Summary
    Master_Territory (Master_Table)
    Client_Purchases (cPurch Table)

    I have got this formula on the Account_Summary sheet but it is returning the 3rd row not the 1st nor is it returning the right values for different accounts:

    =INDEX(cPurch[Line_Name],MATCH($C$8,Master_Table[Customer Number],0),0) <- i understand that is not the correct - i was just happy i had something returned.

    I would like to return all the lines in a list based on the account id on the Account Summary Sheet

    I do not know if this is a SUMIF or Large or even the syntax for the formula.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-10-2016
    Location
    Cordoba, Argentina
    MS-Off Ver
    2016
    Posts
    27

    Re: Return Top N values based of Reference ID

    Hi Bamba
    I think you could use the strategy "Get nth match with INDEX / MATCH"

    After a while in your sheet I got (see atached image)
    Please Login or Register  to view this content.
    Using the formulas
    Please Login or Register  to view this content.
    B21, G21, and J21 are matrix formula (Control+Ship+Enter)

    Then you copy down to row 50

    I had to break all the cell combination because they dont work with matrix formulas

    You may like to copy this to you browser to see your sheet with the new formulas 1drv.ms/x/s!AovCE1fDrrdSmmHM9LlFrmcdXoPw

    You can
    Attached Images Attached Images
    Last edited by sergiomabres; 02-13-2019 at 11:21 AM.

+ 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] vlookup with one reference, and return with multiple values
    By nth34 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-04-2015, 01:40 AM
  2. Return reference to second or third of identical maximum values
    By excessi0n in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-25-2014, 12:56 AM
  3. Lookup Cells and Return Reference based on 2 values, from different sheets
    By Samantha_O in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-28-2013, 07:18 AM
  4. [SOLVED] Return Multiple Values Off One Reference
    By BobBing in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-29-2012, 03:43 PM
  5. Replies: 1
    Last Post: 08-16-2012, 12:59 PM
  6. [SOLVED] Return Multiple Values based on a single reference point
    By qfalker in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-20-2012, 01:00 PM
  7. Replies: 3
    Last Post: 05-09-2012, 06:22 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