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

enter image description here

try this:

    =arrayformula(vlookup("red book"&"novel",{a1:a500&b1:b500,c1:c500},2,0)) 

Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -