Query Functions

  • Thread starter Thread starter Leslie
  • Start date Start date
L

Leslie

I have a spreadsheet with employee data by city and
state. In my query, I need to count the number of
employees by state. Can anyone help?
 
Open your query in design view. Click on the Sigma button in the toolbar at the
top (looks like a "W" turned sideways). In the employees field in your query,
click the down arrow at Group by and select count. Leave state as Group By. Run
the query now and you will get the number of employees by state.


--
PC Datasheet
A Resource for Access, Excel and Word Applications
(e-mail address removed)
www.pcdatasheet.com

· Design and basic development for new applications
· Additions, Modifications and "Fixes" for existing applications
· Mentoring for do-it-yourselfers who want guidance
· Complete application design and development
· Applications Using Palm Pilot To Collect Data And
Synchronize The Data Back To Access Or Excel
 
If you go into your Query editor in Design view and try
inputting a formula for excel which is Countif etc.
Another site which might be able to help you is
www.mrexcel.com - they respond with 1hr!
 
Sort your data by State.
Add subtotals at every change in State and count
 
This process added 1' to this column. There weren't any
totals. Any suggestions?
 

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.

Ask a Question

Back
Top