Count issue

ivan_fuzz

Board Regular
Joined
Jan 7, 2005
Messages
63
Does anyone know how to count the number of rows in a query? I tried using the help but it's not helping. Where's this 'Diagram Pane' to right click and select Group By? When I add a table to a query, I can only get the Group By to come up if I click the "Totals" button on the toolbar and that doesn't give you the extra column the help mentions.

1. In the Database window, click Queries under Objects, and then click New on the database window toolbar.
2. Add the table, view, or function you want to summarize in the Diagram pane.
3. Right-click the background of the Diagram pane, then choose Group By from the shortcut menu. The Query Designer adds a Group By column to the grid in the Grid pane.
4. Add the column that you want to count to the Grid pane.
The Query Designer automatically fills the term Group By into the Group By column of the grid.
5. Change Group By in the Group By column to Count.
Note To count only unique values, choose Count Distinct.

I have to be missing something because I know this can't be this difficult.

Thanks in advance.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hi

The design pane is where the tables appear when you add them to the query (i.e. the top bit of the screen). The way you're doing it (with the Totals button) is the same though. The extra row that appears will be underneath the columns you've selected (above where you usually put the criteria for the selection).

Hope this helps
Martin
 
Upvote 0

Forum statistics

Threads
1,223,521
Messages
6,172,814
Members
452,481
Latest member
Najwan

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