google spreadsheet - Lookup value to match conditions -
i've searched quite while can't find correct answer. image shown below, i'd to find value of book name red book, , category novel. found vlookup can't match multi conditions, please advice function should use?
so like
if (book name == "red book" && category == "novel") { "in stock" value // 4 } thanks
try this:
=arrayformula(vlookup("red book"&"novel",{a1:a500&b1:b500,c1:c500},2,0)) 
Comments
Post a Comment