Hi BDarden, create a new query using query design, switch to SQL view and paste this in. See if this is what you wanted.
SELECT [Audit Scores Database].AGENTID, [Audit Scores Database].AgentName, Sum(IIf([Audit Month]='1',[CALL TOTAL],0))/Count(IIf([Audit Month]='1',1)) AS [Jan Avg], Sum(IIf([Audit Month]='2',[CALL TOTAL],0))/Count(IIf([Audit Month]='2',1)) AS [Feb Avg], Sum(IIf([Audit Month]='3',[CALL TOTAL],0))/Count(IIf([Audit Month]='3',1)) AS [Mar Avg], Sum(IIf([Audit Month]='1' Or [Audit Month]='2' Or [Audit Month]='3',[CALL TOTAL],0))/Count(IIf([Audit Month]='1' Or [Audit Month]='2' Or [Audit Month]='3',1)) AS [Qtr 1 Avg]
FROM [Audit Scores Database]
GROUP BY [Audit Scores Database].AGENTID, [Audit Scores Database].AgentName
Bookmarks