Excel: Search for a cell address, then use that address in a function -


i'm having trouble rather convoluted excel issue, think have problem figured out.

lets use successful pets example. have 3 pets, cat, dog, , bird. cat , bird both successful @ jumping through hoop, dog wasn't. have results listed in 1 table:

sheet1: http://imgur.com/ltrmwqy

i have table lists pets:

sheet2: http://imgur.com/prq12md

in sheet2 b2, have formula return word "success." can't seem function work this.

the logical progression see first identify cell holds word "cat" in sheet1. need set if statement searching word success in cell.

i have second part down: =if(isnumber(find("successful",sheet1!a1)), "success", "fail")

what need write search out , populate "sheet1!a1" portion of above function searching sheet1 column value in sheet2 cell a2. can or me pointed in right direction?

thank in advance.

i wrote down bit quickly, there might shorter ^^;

=if(isnumber(search("successful",vlookup("*"&a1&"*",sheet1!a:a,1,0))),"success","fail") 

the innermost function vlookup , corresponding cell in sheet1 containing 'dog' (case insensitive). return value the dog failed.

now, next formula search (a case insensitive version of find) , successful. rest should relatively easy understand :)


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -