TOP

VlookupSeq function for Excel (VLOOKUP2)

YouLibreCalc for Excel logo

VLOOKUPSEQ() Description

The built-in function VLOOKUP is one of the most powerful functions in Excel. But it has one significant drawback - it finds only the first occurrence of the required value in the table and only in the far right column. But if you need the 2nd, 3rd and not the last one?

The modified VLOOKUPSEQ function can return any match (not just the first one found) from any given column.


Main Features Functions VLOOKUPSEQ

Syntax:

=VLOOKUPSEQ(LookupValue; LookupArray; ReturnArray; Seq)

Parameters:

Example Usage

The VLOOKUPSEQ() function is easy to use. You just need to specify the search range and the column from which the values will be taken, as well as the sequence number of the required match and Excel will automatically find and return the required value:

=VLOOKUPSEQ(LookupValue; {Lookup Array}; {Return Array}; Seq)

We will have the following result:

VLOOKUPSEQ formula usage

This example uses the following values:

Download the extension

You can use the VLOOKUPSEQ() function by installing a free extension YouLibreCalc.xlam .

After that, this function will be available in all files that will be opened in Excel.