You didn't say if you have one Yes/No field per row (a well-normalized
design), or multiple Yes/No fields per row (a spreadsheetly design).
If the former, you can Sum() that field, then take the Abs() (absolute
value). Since Access treats a Yes as -1, the absolute value of the sum of
that field is the number of Yes answers.
To do a percentage, find out how many rows and do the division.
If it is a Yes/No field, Yes is stored as -1. In a report you can use a text
box (say txtYesCount) with this calculation: =ABS(Sum([YesNoFieldName])) to
get the count of Yes values.
Then another box could have: =Format(txtYesCount/Count(*),"0.#%")
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.