• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

finding text in array [SOLVED]

madocar

Member
Hello guys,


Could you help me please? I attached the file


http://www4.zippyshare.com/v/53510441/file.html


In column A, column B, column C are data. In column called Result I wanna get one of the three words (BISTRO,CAS,CESTOVANIE)

For instance in cell D2, if in the range A2:C2 is the word Bistro, the result will be BISTRO, if in the range A2:C2 is the word cas, the result will be CAS, if in the range A2:C2 is the word cestovanie, the result will be CESTOVANIE.


But there is some kind of mistake which I dont know to solve


Many thanks
 
Hi ,


Put this formula in D2 , and copy down :


=(IF(OR(ISNUMBER(SEARCH("Bistro",A2:C2))),"BISTRO",IF(OR(ISNUMBER(SEARCH("cas",A2:C2))),"CAS",IF(OR(ISNUMBER(SEARCH("cestovanie",A2:C2))),"CESTOVANIE",""))))


Enter this as an array formula , using CTRL SHIFT ENTER.


Narayan
 
Back
Top