473,378 Members | 1,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Find percentage of acceptance for quotes

First off, i am a sql/access idiot, so sorry for the ignorance and need for layman's terms.......

I keep track of my quotes in access and need to see what my closing rate is. I of course can manually count the number of quotes and do the math myself, but is there a way to have a running updated query of some type that i can weekly open and see what percentage of quotes have been checkmarked "accpeted"?

The fields are simple:

Last name
quote number (auto generaged value by access)
date
accepted (check box)
declined (check box)
comments

i only want to know the percentage of accepted

thank you in advance for any and all help!
Jun 16 '15 #1
4 891
Rabbit
12,516 Expert Mod 8TB
No need for an update query, a regular query works just fine.

Create an aggregate query that returns a count of all records.
Create an aggregate query that returns a count of just the accepted records.
Create a third query that brings in those 2 queries and divides accepted by total.
Jun 16 '15 #2
Thanks for the help. I get the first two lines, except I can't figure out how to have it only count the "ACCEPTED" that has the box checked for a "YES". I also am not sure how I would create a query that brings the two together and divides it. It should be the total "YES" boxes in ACCEPTED divided by the total records *100.
Jun 16 '15 #3
I actually just figured out that if I make a query and select the ACCEPTED field and click on NUMBERS and then just select AVG next to TOTAL, it gives me the number. Thanks for the help!
Jun 16 '15 #4
Rabbit
12,516 Expert Mod 8TB
That'll work because of the way Access stores Booleans. But if you ever change your backend, you'll want to be careful. Not every database stores the data the same way that Access does.
Jun 16 '15 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Steve Jorgensen | last post by:
I'm posting this message for 2 reasons. First, I'm still pretty new and shakey to the whole Acceptance Testing thing, and I'm hoping for some feedback on whether I'm on the right track. Second,...
2
by: nurddin19 | last post by:
Hi, I have an Excel file (which is converted to csv by a tool and then uploaded to a MySQL database) and then php is used to display the data on the website. In the Excel file i have text...
38
by: Christoph Zwerschke | last post by:
In August 2001, there was a thread about the "Art of Unit Testing": http://groups.google.com/group/comp.lang.python/browse_frm/thread/aa2bd17e7f995d05/71a29faf0a0485d5 Paul Moore asked the...
3
by: Luis Esteban Valencia | last post by:
hello quite a simple one if you understand regular expressions vbscript and ..net, probably quite hard if you don't i have a single line input which offers classic search functionality, so if...
0
by: fake ID | last post by:
Since you can't search for these symbols used in asp.net "<%#" or '<%=' I thought i'd post this to make things a little easier to find. Potential search word combinations: -lessthan Percentage...
2
by: The Eternal Squire | last post by:
All, I've been doing some hacking of the Python engine, and I've been looking for where the comprehensive regression tests are kept so that I can determine where I've broken part of the...
1
by: veaux | last post by:
I'm using Access query and have to spit out a text file to load into a 3rd party program. The text file has to include quotes (" ") around certain infomation. The string I have is below. ...
4
by: Michael Yanowitz | last post by:
Hello: If I have a long string (such as a Python file). I search for a sub-string in that string and find it. Is there a way to determine if that found sub-string is inside single-quotes or...
8
Nathan H
by: Nathan H | last post by:
I am trying to write a query that will result in showing records that have a large percentage difference among fields in a table. For instance: Table field1.Item field2.account1 (percentage)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.