G
Guest
I have data in a table as follows:
Company Location Number
Comp A CA 3
Comp A WA 3
Comp B AZ 4
Comp C TX 5
Comp C IL 5
Comp C NY 5
The will always be only one unique "Number" value for each Company,
regardless of how many locations are present. What I am trying to do is
create another column that will average the "Number" field, but I only want
the average to be calculated based off of the one unique Number per Company.
So, for example, in the data above the average would be calculated as (3+4+5)
/ 3 = 4, as opposed to (3+3+4+5+5+5) / 5 = 5. I'm a beginner in Access, any
help would be appreciated.
Company Location Number
Comp A CA 3
Comp A WA 3
Comp B AZ 4
Comp C TX 5
Comp C IL 5
Comp C NY 5
The will always be only one unique "Number" value for each Company,
regardless of how many locations are present. What I am trying to do is
create another column that will average the "Number" field, but I only want
the average to be calculated based off of the one unique Number per Company.
So, for example, in the data above the average would be calculated as (3+4+5)
/ 3 = 4, as opposed to (3+3+4+5+5+5) / 5 = 5. I'm a beginner in Access, any
help would be appreciated.