Excel formula not working - SEARCH(OR(XX;YY) -
i have tried search ("banana";"orange"), yet added or not right result banana, , orange.
original code, ok!:
=iferror(if(and([@[country]]="argentina";isnumber(search("apple");[@[fields]])));"argentinafield";vlookup([@[country]];table1;2;0));[@table4])
not searching banana, , orange:
=iferror(if(and([@[country]]="argentina";isnumber(search(or("apple";"banana";"orange");[@[fields]])));"argentinafield";vlookup([@[country]];table1;2;0));[@table4])
or not work in case? thank you.
your formula syntax wrong, search command. assume have list of county , fruits , want search fruit name country. suppose country name col 1 & fruit in col 2. write one, =iferror (vlookup (a2, b4:c10, {1,2},false), "") finish formula ctrl +shift +enter country name, select formula cell press shift +right arrow ➡ select nxt cell, press f2 , again press ctrl +shift +enter,, u fruit name.
nb : write country name in a2. ☺
Comments
Post a Comment