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

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

node.js - Express and Redis - If session exists for this user, don't allow access -