C
Chuck W
Hi,
I have a table that has Customer Number, TrxDate, and then ten fields:
AMI1, AMI2, AMI3.......AMI10. These fields all have letters in them which
are either B, D, E, X or Y. I am trying to calculate a ratio for a given
month. The numerator of the ratio is the count of E and the denominator of
the ratio is the count of D+E. So if there are 3 Es and 3Ds then the ratio
is .5. B, X and Y don't count. I want to write a query or queries that will
give me the ratio of all ten AMI fields for the month. Can someone help?
Thanks,
I have a table that has Customer Number, TrxDate, and then ten fields:
AMI1, AMI2, AMI3.......AMI10. These fields all have letters in them which
are either B, D, E, X or Y. I am trying to calculate a ratio for a given
month. The numerator of the ratio is the count of E and the denominator of
the ratio is the count of D+E. So if there are 3 Es and 3Ds then the ratio
is .5. B, X and Y don't count. I want to write a query or queries that will
give me the ratio of all ten AMI fields for the month. Can someone help?
Thanks,