If you would use the real field names and conditions in your
question, we could avoid all this back and forth while I
guess what you are trying to do.
Try changing it to something more like
=Sum(IIf([Warranty Income] => 0 And [another field] =
"New", 1, 0)) / Sum(IIf([another field] = "New", 1, 0))
--
Marsh
MVP [MS Access]
The only thing I'm hung up on with that formula is that the [Warranty Income]
field is a currency field. The only way that we know a warranty was sold was
that there is an income figure there. I've been using ([Warranty Income]
=1) to identify a warranty sale. I'm having trouble writing that formula.
It keeps saying "too complicated".
Reese wrote:
I'm trying to write an expression that counts "Warranties" in one field only
if the value of another field is "New" and then divides them by the total
number of "New" returns in the overall group.