Counting in grouped reports

MsT

New Member
Joined
Mar 17, 2003
Messages
37
I have several reports which are grouped. I would like to count the grouped levels rather than the actual records.

So for example, one is a match report, with the players who played in each match, grouped by the matches. (Matches stored in one table, players in another linked as a one to many.) How do I count the number of matches, rather than the number of players? It doesn't make a difference where I put the count calculation, or what I count, it counts the number of records in the detail section, i.e the players

How do I go about counting the matches?

Cheers in advance
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
You'll need to put an invisible text box in the group header or footer whose source =1 and set it to Sum Over All; and a control in the report footer that sums the name of the invisible control just by referencing it (=[summingTextboxName)
 
Last edited:
  • Like
Reactions: MsT
Upvote 0
I take it that it worked, so you're welcome, and glad to help.
 
Upvote 0

Forum statistics

Threads
1,221,828
Messages
6,162,215
Members
451,752
Latest member
freddocp

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top