If you want to provide db for analysis (follow instructions at bottom of my post) I will give it a try. I've never actually set up queries like this, not sure what you want is practical. The only possible alternative is a VBA procedure to construct criteria string.