The built-in function VLOOKUP is one of the most powerful functions in LO Calc . But it has some drawbacks - it compares values in only one column. But what if you need to compare values in multiple columns at the same time?
The modified VLOOKUPMULTI function searches for a specified value in a range with multiple columns.
=VLOOKUPMULTI(LookupValue; LookupArray; ReturnArray)
The VLOOKUPMULTI() function is easy to use. You just need to specify the range to search, which can include multiple columns, and the column from which to return the related value, and LO Calc will automatically find and return the required result:
=VLOOKUPMULTI(LookupValue; Lookup Array; Return Array)
We will have the following result:
This example uses the following values:
You can use the function VLOOKUPMULTI() by installing the extension
Or its free version YouLibreCalc .
After that, this function will be available in all files that are opened in LibreOffice Calc .