How to lookup multiple values based on multiple criteria in one cell?

GT1992

I have a spreadsheet where I have used SEARCH() to get the possible linked ingredients from a match in a string. This sometimes leaves me with multiple possible matches. Now I would like to lookup the translated words of these possible matches using an INDEX MATCH. Except I cannot as cells have multiple values and therefore multiple criteria.

My question is: how can I lookup multiple values based on multiple criteria and have them in one cell?

An example as better explanation:

The table I have:

description productNameEN productNameIS
Red onion Onion, Red onion
Egg yolk Egg, Egg yolk
Lemon Lemon

And then I would like to fill the productNameIS column with the translations from another table, so that it looks like this:

description productNameEN productNameIS
Red onion Onion, Red onion Laukur, Rauðlaukur
Egg yolk Egg, Egg yolk Egg, Eggjarauða
Lemon Lemon Sítronu

This is a table example of the translations.

EN IS
Egg Egg
Egg yolk Eggjarauða
Lemon Sítronu
Onion Laukur
Red onion Rauðlaukur

Now the INDEX MATCH works for the word lemon as this is singular, but not for the other cells. I need to keep the multiple values in one cell for further use in my spreadsheet.

JvdV

One option:

enter image description here

Formula in C2:

=MAP(B2:B4,LAMBDA(a,TEXTJOIN(", ",,VLOOKUP(TEXTSPLIT(a,", "),F2:G6,2,0))))

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How to copy values based on multiple cell criteria to another Sheet

VLOOKUP with multiple criteria returning values in one cell

Lookup multiple values from one cell

How to lookup multiple cells based on multiple criteria in VBA

Update cell values based on dependent drop down lists/multiple criteria

Count duplicate cell values as one if multiple criteria are met

Index and Match formula with multiple Lookup Values but for one cell

Excel2011 - Lookup and return multiple values into one cell BY DATE

How can I SUM values based om multiple criteria where one is a range (list of values)?

Lookup row number based on multiple criteria - Excel

Highlight values based on multiple criteria

Multiple values in one cell

filtering multiple values based on one matching criteria in a different column in excel

Change how multiple values in one cell are displayed

MS Access: query only one criteria in multiple criteria lookup field

Filter on multiple criteria defined in one cell

Excel - lookup by multiple criteria

How to group multiple rows based on some criteria and sum values in R?

How to sum multiple values using offset based off criteria?

how to determine the number of unique values based on multiple criteria dplyr

how to get multiple lookup values in one cell using vba code for static LookupValue, LookupRange , ColumnNumber, delimiter from different sheets

How to calculate cell values in excel based on the criteria

How to lookup multiple highest values from one data reference?

Replace multiple values in one cell

Copying Multiple Cells based on a criteria and printing all of them onto one cell

Return multiple match index lookups into one cell with multiple criteria

How to separate one row into multiple rows based on a single cell containing multiple values in the same row in a CSV file using PowerShell

Values in a column to rows based on multiple criteria

Extracting values based on multiple criteria in Google Sheets