TOP

VlookupSeq function for LibreOffice Calc (VLOOKUP2)

VLOOKUPSEQ() Description

The built-in function VLOOKUP is one of the most powerful functions in LO Calc. But it has one significant drawback - it finds only the first occurrence of the desired 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 LibreOffice Calc will automatically find and return the required value:

=VLOOKUPSEQ("John"; {Lookup Array}; {Return Array}; 2)

We will have the following result:

VLOOKUPSEQ formula usage

This example uses the following values:

Extension "YouLibreCalc.oxt"

You can use the function VLOOKUPSEQ() by setting the extension " YouLibreCalc.oxt ". After that, this function will be available in all files that will be opened in LibreOffice Calc.