I have a pivot table that brings in data where a client will have multiple lines of data. For example, Fred Smith might have 3 invoices associated with him in the raw data while Mary Jones might have 2 invoices.
Everything is summing up correctly, but I can't figure out how to "fix" my averages. The way it appears to be working, the average calculation is (Fred1 + Fred2 + Fred3 + Mary1 + Mary2) / 5. But what I really want is (Fred1 + Fred2 + Fred3) + (Mary1 + Mary2) / 2.
Is there any way to do that type of average calculation in a pivot table?
Everything is summing up correctly, but I can't figure out how to "fix" my averages. The way it appears to be working, the average calculation is (Fred1 + Fred2 + Fred3 + Mary1 + Mary2) / 5. But what I really want is (Fred1 + Fred2 + Fred3) + (Mary1 + Mary2) / 2.
Is there any way to do that type of average calculation in a pivot table?