Thanks, I haven't tried the formula yet, but the problem with the two queries is that at the end of the second query you are again left with just the names of fields that are not equal to 0, I still want those names to show up with 0 in the results of the second query. Otherwise i could just...