A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Add percentages



 
 
Thread Tools Display Modes
  #1  
Old March 1st, 2010, 02:21 AM posted to microsoft.public.access.queries
CMarshall
external usenet poster
 
Posts: 2
Default Add percentages

I have a report that counts the number of technicians at different locations
and then counts the number of techs that have attended training at our
headquarters (there are 20 different schools). How can is add a percentage
for each school that gives me the percentage of techs who have the training.

Example: =Sum(Abs([Quantum] Like "??????")) divided by =Count(*)

  #2  
Old March 1st, 2010, 02:01 PM posted to microsoft.public.access.queries
John Spencer
external usenet poster
 
Posts: 7,815
Default Add percentages

The easy way would be to build a report that gave you the data for the sums.
Since we have no clue as to the data structure it is very difficult to give
you more specific advice on what the underlying query would look like.

More complex and tedious would be to build individual controls with something
like the following.
=Sum(Abs([Quantum] Like '??????' AND School='Yard One')) /Count(*)
You would have to build the formula for each combination of course and location.

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

CMarshall wrote:
I have a report that counts the number of technicians at different locations
and then counts the number of techs that have attended training at our
headquarters (there are 20 different schools). How can is add a percentage
for each school that gives me the percentage of techs who have the training.

Example: =Sum(Abs([Quantum] Like "??????")) divided by =Count(*)

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.