+ Reply to Thread
Results 1 to 2 of 2

Indexing an Array with VLOOKUP

  1. #1
    Joe Blow
    Guest

    Indexing an Array with VLOOKUP


    Hi,

    I have an array with multiple occurrences of my lookup value that I
    would like to summarize in another table.

    Is there a way to index to the next occurrence of the lookup value
    once vlookup has found the first occurrence?

    Appreciate any help,
    Joe

  2. #2
    Jason Morin
    Guest

    Re: Indexing an Array with VLOOKUP

    One way:

    =INDEX(B1:B10,SMALL(IF(A1:A10="X",ROW(B1:B10)),N))

    Array-entered (press ctrl + shift + enter), where:

    B1:B10 = range that contains value to return
    A1:A10 = range to search for lookupvalue
    X = lookup value
    N = positive integer representing nth occurence (e.g., 2
    = 2nd occurence, if there is one)

    HTH
    Jason
    Atlanta, GA

    >-----Original Message-----
    >
    >Hi,
    >
    >I have an array with multiple occurrences of my lookup

    value that I
    >would like to summarize in another table.
    >
    >Is there a way to index to the next occurrence of the

    lookup value
    >once vlookup has found the first occurrence?
    >
    >Appreciate any help,
    >Joe
    >.
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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