One search multiple field how to

Hi at level page im doing a search in a table and im puttin the result in custom state of an element.
The question is:
can i made only ONE search and put the results in multiple custom states of elements or i need to do a search each time i want put a result in a custom state?
Thanks