My Receipts report has seven currency fields, each of which uses a variation on =IIf(
Code:
="A",[Amount]*0.4,Null)
The Total field has the formula: nz([DonationA1],0+nz([DonationA2],0+nz([DonationB],0))) (shortened from seven fields).
All but one of the six fields is usually Null, (depending on the [code] value), but sometimes two fields have values. When these two fields result in a calculated currency amount, the total excludes the first value.
The clue may be that the two that will both have values always appear together and have similar sources, i.e.:
=IIf([code]="A",[Amount]*0.4,Null)
=IIf([code]="A",[Amount]*0.6,Null)
the other five use unique codes, like =IIf([code]="B",[Amount],Null)
Thank you for any suggestions. Cheers, Pete:)