I am using Access 2013 and have a report which is working fine.
It sums the number of times each sales person's name appears in a column and adapts when I use a filter i.e. if I limit records to the current month only, the total adapts accordingly. There is a different total field for each salesperson.
I have two relevant columns. The first is 'LeadNegotiator' and the second is 'NegotiatorTwo. Both sum as described in the previous paragraph.
Here's the problem... There are times when the salesperson shares a sale with another salesperson. So instead of the whole sale being counted as one (to one person) it is counted as half a sale each.
Formulas are as follows...
=Sum(IIf([LeadNegotiator]=7,1,0)) with the '7' changing depending on the salesperson
=Sum(IIf([NegotiatorTwo]=7,1,0)) with the '7' changing depending on the salesperson
How do I adapt my code to reflect this?
Any help greatly appreciated