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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to do the sum on the report?

Status
Not open for further replies.

Mayo123

Technical User
Apr 23, 2005
58
US
I am using Access 2000.
I have a summary report which needs to show total counts of each category. On the report there’s a field called PG13Rated (text datatype, which has a value Y or N). I need the report to show how many Y (N) in each category. Is it possible to the do calculation on the report? If so, how? Could you please help me out? Thanks a lot!

 
How about:
=Sum(IIf(PG13Rated ="Y",1,0))
 
Thanks, Remou! It worked
I skipped o in order to leave it blank when its value is N
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top