The text search in project field should be standard and well known, right?
You can use an advanced search (start the search string with =) to search the expression results.
For example, if your expression is something like
Just use as search string
=Sum(Hours) = 236
Drawback: Your users may need to know the expressions and search syntax