Table to list count of records

rbs

Board Regular
Joined
Oct 6, 2002
Messages
58
Hi Everyone,

I need to set up a table (or other medium) to give the total number of records for certain queries.

Can anyone help?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
For each query where you want to get the totals, build another query on that one.
Example: Query1 has fields Category, Date, SalesValue
New query -- add Query1 to the data sources.
Drag Category, Date, SalesValue onto the grid -- but do SalesValue TWICE.
Make the query a Totals query by clicking the Sigma button on the toolbar. This gives you a Totals line in the grid. Default is Group By for each field. Leave it like that for the first 2 fields. The first SalesValue field should have Count in that row; make the second SalesValue Sum. [You could add a third SalesValue, and make that Avg if desired].

HTH
Denis
 
Upvote 0

Forum statistics

Threads
1,221,572
Messages
6,160,575
Members
451,656
Latest member
SBulinski1975

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