Welcome to Access World Forums. Now, based on your question I have to state that your data structure sounds like it may not be properly normalized. So some questions are in order.
What do each of those columns you are wanting to search store? What is the purpose of finding the yes? What do you plan to do if you find a yes?