Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can You Exclude Amounts From a Sum Function on Report? 1

Status
Not open for further replies.

lrdave36

Technical User
Jan 6, 2010
77
0
0
US
Hey guys,


I have an access report that contains a total field. The formula in the field is =SUM([PAB_AMOUNT]).

The problem is PAB_AMOUNT contains some amounts that I don't want included in the summery. These amounts occur on another table field called WAGE TYPE for wage types 9348 and 9349.

Is there any way I can add criteria excluding amounts on these wage types?
 
=sum(iif(wagetype not in(9348 ,9349), [PAB_AMOUNT] ,0)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top