excel - Search multiple items in a list for values in other cells -


let's searching apples , oranges in list under column a. if either found return (in column c, formula column) price in column b. have found formulas close, not looking yet. line line calculation rather total of all.

this formula used 1 item, want 2 items, or multiple items:

=if(iserror(search("apple*",a1)),"",b1)   

how search 2 values in list , return corresponding cell values?

assuming apple in f1 , orange in g1 please try in c1 (copied down suit):

=if(and(iserror(search(f$1&"*",a1)),iserror(search(g$1&"*",a1))),"",b1) 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -