Total male and female

G

Guest

Hi ,
I have a report that I need to total the number of Males and females. How
do I do this? I want it to total at the bottom of the report.
 
M

Marshall Barton

Jenjen said:
I have a report that I need to total the number of Males and females. How
do I do this? I want it to total at the bottom of the report.


It would be useful for you to explain how you determine a
male from a female.

Presuming you have a Yes/No field named Sex in the report's
record source table/query and that a True value indicates a
male, the number of males can be calculated with the text
box expression:
=Abs(Sum(Sex))
for females:
=Abs(Sum(Not Sex))
 
G

Guest

I exported this out of a student management system. the males are listed as
M and Females as F.
 
G

Guest

Hi Marshall,

thank you for replying. I am exporting the data out of a student management
system . I am puting the data into tabel and creating a report. the Males
are represented by M and Females by f. How can I sum up how many of each on
the report.'

Jen
 
D

Duane Hookom

Building off Marsh's reply:
the number of males can be calculated with the text
box expression:
=Abs(Sum(Sex="M"))
for females:
=Abs(Sum(Sex="F"))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top