M
Mike DeNuccio
Is it possible in a query to count the number of times a certain item
appears in multiple fields? For example, I have four fields
Field Item in Field
1 A
2 B
3 (null)
4 B
Is it possible to count the number of times A appears so that in Field
ACount I would have 2. In Field BCount, I would have 1. In the end, I
would like to be able to divide by the number of fields I am searching
through, so that the values in ACount and BCount would be .5 ad .25
respectively, but I figured I could figure that part out if someone could
give me the first part.
As I am not great with VB, I would prefer a query solution, but will take
anything. It's easy in Excel, but Access seems to make it hard to do this.
Thanks in advance.
Mike
appears in multiple fields? For example, I have four fields
Field Item in Field
1 A
2 B
3 (null)
4 B
Is it possible to count the number of times A appears so that in Field
ACount I would have 2. In Field BCount, I would have 1. In the end, I
would like to be able to divide by the number of fields I am searching
through, so that the values in ACount and BCount would be .5 ad .25
respectively, but I figured I could figure that part out if someone could
give me the first part.
As I am not great with VB, I would prefer a query solution, but will take
anything. It's easy in Excel, but Access seems to make it hard to do this.
Thanks in advance.
Mike