Select contacts by account criteria?

Select contacts by account criteria?

We have a custom field ("type") in our account records. We want to select all contacts that belong to a account where "type=xxxx".

Is there a way of doing that?