Thanks for the answer, but I realize now I haven't been specific enough. I run my query through a form where I can enter in text boxes the criteria I want to use for each category, I tried " " to select empty cells but it didn't work, any other idea?