Results 1 to 16 of 16

Index matching with Large() calculation

Threaded View

  1. #1
    Registered User
    Join Date
    07-19-2013
    Location
    Southampton, England
    MS-Off Ver
    Excel 2010
    Posts
    12

    Angry Index matching with Large() calculation

    Hi all,

    First post here so please be gentle. Self taught excel guru, finding limits and googling my way past them

    However, I haven't been able to find a solution to this one (or perhaps I am over complicating it) I know what I need to do but not quite sure how:

    So I have a sheet called `Data`, which has multiple criteria in the following layout (its bigger than this - about 13k lines - but that gives you the idea):

    A_____________B_________C
    product code___category___sales
    ABC123456_____Fruit______34
    ABC432342_____Fruit______3
    MEA123456_____Meat_____22
    MEA432342_____Meat_____19

    Currently, I use the following formula on another sheet, in column B, to list the top 20 selling products from the data sheet:

    A B
    1 =INDEX(Data!$1:$1048576,MATCH(LARGE(Data!$C:$C,$A1),Data!$C:$C,0),1)
    2 =INDEX(Data!$1:$1048576,MATCH(LARGE(Data!$C:$C,$A2),Data!$C:$C,0),1)
    3 =INDEX(Data!$1:$1048576,MATCH(LARGE(Data!$C:$C,$A3),Data!$C:$C,0),1)
    4 =INDEX(Data!$1:$1048576,MATCH(LARGE(Data!$C:$C,$A4),Data!$C:$C,0),1)
    etc

    This works perfectly in giving me the overall top 20 - however - I want to now be able to produce a top 20 by product category (column B) on the data tab...

    In my head the formula is the same as the above, but with another criteria applied to only search in the specified product category.

    Any ideas?

    Many thanks!
    Last edited by dr3amz; 07-19-2013 at 04:46 AM.

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: 12-27-2012, 06:18 PM
  2. Detect matching values in very large lists
    By Jbentley in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-09-2009, 04:08 AM
  3. Index, Match, and Large
    By edwardpestian in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-03-2006, 06:10 PM
  4. Non-calculation in large workbook
    By Edward in forum Excel General
    Replies: 0
    Last Post: 06-05-2006, 02:15 PM
  5. LARGE and INDEX functions
    By bob in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-03-2006, 02:15 AM

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