How do I count the instances of Y where X=1 and z>1 (Repeated Z value in the field)
Example outcome:
X.....Y.....Z
1.....1.....1
1.....2.....1
1.....3.....1
Use a Dlookup?
Thanks
Edit: I am using Text vice numbers because the table I am really working on uses short text. The point of table 2 is using it as a reference. I have pruned down the information store in there from the original table. The original data set X was 6 characters long. It is so I can place multiple data points. I understand in this instance I could have used in X in the query criteria where X = "1" and X = "2", but it becomes cumbersome to have 14 more X types to put in criteria.
How many times does X occur if there are multiple Z instances. so if there are 2 instances of Z, then you would get 1 for the first record, and 2 for the second record, 3 for the third record.........