×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Counting the value of an entry in a report column

Counting the value of an entry in a report column

Counting the value of an entry in a report column

(OP)
I have a report field with values of either yes or no. Can I create a formula to count the number of "yes" entries in that column? Example: The field is Contracts (do we have one or not with the customer). If we do, the value is yes, if we don't, the value is no. I want to be able to show the count of "yes's.

RE: Counting the value of an entry in a report column

Within Notes4.5 you can create a view that will identify the forms within the database you will be calculating. create a first column with the following specs:
View Properties:
1. name the coumn "Totals"
2. Select the sorting tab on the prperties box and then locate at the bottom where it says "Totals". select Totals.
3. select the checkbox "Hide detailed rows".
4. Close properties box and then enter "1" in the default formula for that column.

After this you will need to create a column that will allow you to show the field on the form that is capturing this yes/no input.Make this field sorting and show twistie.
From that point you should be able to now calculate how many of each input you have.

RE: Counting the value of an entry in a report column

In an Approach report you have an option to summarize values using a calculated-type field. The formula would be something like this:

CountYes = SSum(If(Contracts = 'Yes',1,0))

Put the field in a summary panel.

Sue Sloan

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close