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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -