+ Reply to Thread
Results 1 to 5 of 5

INDEX/MATCH Array within LARGE Function?

  1. #1
    Registered User
    Join Date
    03-18-2015
    Location
    Little Rock, AR
    MS-Off Ver
    2010
    Posts
    10

    INDEX/MATCH Array within LARGE Function?

    I have been searching everywhere for something that might help me with this and I just cant seem to find it! I guess essentially I am trying to do a look up based on a column and then find the largest value from the row to the right of the data. It would look something like this,

    Data Sheet
    A 10 15 20 30
    B 8 16 32 64
    C 1 2 3 4
    D 2 4 6 8
    E 20 40 60 80


    Main Sheet
    Largest Value
    A 30
    B 64
    C 4
    D 8
    E 80

    The problem is I can make A,B,C,etc. static on my Main Sheet however since I am pulling data into the data sheet there is not always data for A,B,C,D,E which causes them to shift making it where I can just do a standard =Large(B1:B4,1).

    I've tried INDEX, MATCH, ROW and some other ideas but cant get anything to work!!!

    Any ideas? Thanks!
    Last edited by DZ217; 08-11-2015 at 04:15 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: INDEX/MATCH Array within LARGE Function?

    upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: INDEX/MATCH Array within LARGE Function?

    Try this...

    Data Range
    A
    B
    C
    D
    E
    1
    2
    A
    10
    15
    20
    30
    3
    B
    8
    16
    32
    64
    4
    C
    1
    2
    3
    4
    5
    D
    2
    4
    6
    8
    6
    E
    20
    40
    60
    80
    7
    ------
    ------
    ------
    ------
    ------
    8
    9
    10
    A
    30
    11
    B
    64
    12
    C
    4
    13
    D
    8
    14
    E
    80


    This formula entered in B10 and copied down:

    =MAX(INDEX(B$2:E$6,MATCH(A10,A$2:A$6,0),0))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    03-18-2015
    Location
    Little Rock, AR
    MS-Off Ver
    2010
    Posts
    10

    Re: INDEX/MATCH Array within LARGE Function?

    Ugh, I was totally over thinking it! That's exactly it! Thanks Tony, Large still works in that function also (I need the second largest also which is why I'm using Large). As always thank you for the quick replies and great answers! This forum is one of my favorites for this reason!

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: INDEX/MATCH Array within LARGE Function?

    You're welcome. Thanks for the feedback!

+ 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. How to: Return next value w/ same # in index match large function?
    By Yoshi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-06-2015, 02:35 AM
  2. Index match with large function
    By morobo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-19-2014, 02:27 PM
  3. [SOLVED] Variable Row Array in Index Match Function
    By Lacaycer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-19-2013, 11:45 AM
  4. index function error using match function to get data from a cell in an array
    By mabildgaard in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2013, 02:21 AM
  5. [SOLVED] Long array formula with INDEX and MATCH quits working when range is too large
    By UncleKevy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-05-2013, 09:42 PM
  6. Index, Match, Large Function returning duplicate names
    By RNeel55 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-08-2013, 04:09 PM
  7. Using Index & Match with the Large function
    By JXH in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-24-2011, 08:39 PM
  8. Index/Match function inside an array
    By tittiot in forum Excel General
    Replies: 2
    Last Post: 01-20-2010, 09:48 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