I am trying to create a vlookup with a condition, link. All combinations are unique, so Chicken - Sausage will only appear once. I have checked my formula and this is what happens;
- Formula checks
column Afor any cells that matchChicken. - Result is
FALSE/FALSE/TRUE/TRUE/FALSE/TRUE/... - Formula filters out all the falses and returns the data of the trues.
- Retrieved data is all
#N/A - Result = #N/A
But why is all the retrieved data #N/A? It should list Chicken x x x x Sausage/.... Other columns are of no use or interest in this question.
=VLOOKUP("Sausage";IF(Extra!$A$2:$A$4032="Chicken";Extra!$A$2:$H$4032;"");7;0)
Data Sample
Extra
Meat x x x x x Sausage
Chicken x x x x x Sausage
Turkey x x x x x Sausage
Chicken x x x x x Breast
Chicken x x x x x Wings
Jerry:
Hi Jerry, I want to look for Sausage in Sheet Extra. With a normal VLOOKUP it will only show the first result, even if you 3 results (Chicken Sausage, Meat Sausage, Turkey Sausage). So I added an extra condition, Chicken. Following the link I provided I'm looking for Sausage (A) in Sheet Extra and it's linked to Chicken (South-America).
This should result in:
=VLOOKUP("A",{"", "", "", "", "";"", "", "", "", "";"", "", "", "", "";"", "", "", "", "";"A", "South America", "The New Firm", "Tory", "Byrnes";"", "", "", "", "";"", "", "", "", "";"", "", "", "", "";"", "", "", "", "";"F", "South America", "Trans United Airways", "Ervin", "Hennessey"},3,FALSE)
But all I get is:
=VLOOKUP("Sausage",{"", "", "", "", "";"", "", "", "", "";"", "", "", "", "";"", "", "", "", "";"#N/A", "#N/A", "#N/A", "#N/A", "#N/A";"", "", "", "", "";"", "", "", "", "";"", "", "", "", "";"", "", "", "", "";"#N/A", "#N/A", "#N/A", "#N/A", "#N/A"},7,FALSE)