Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Access

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-22-2008, 04:58 PM
=?Utf-8?B?SnVkaTw+PA==?=
 
Posts: n/a
SIMPLE Math % Question

Hi, my brain seems to have shut down temporarily and I need help with
something.

I have a field in a query that returns 1 or 0 and I need to find the % of
times that the answer is 1. Then, I need to show this % in a report.

The field details whether a quote was on-time or late. 1 = on-time and 0 =
late.

I need the on-time percentage.

Please help me, I'm terrible at math, and this question shoved me over the
edge.

Thank you in advance for talking slowly and for using small words...
Reply With Quote
  #2 (permalink)  
Old 07-22-2008, 05:08 PM
=?Utf-8?B?SnVkaTw+PA==?=
 
Posts: n/a
It just got harder

O.K. now I have to go and complicate things...

I just realized that not every quote has a due date. I have a field now to
show whether there is a requested date or not (again, 1, 0). Any quote that
does not have a due date is showing up in the other column as late.

I need to not count those jobs against the estimators. Is there an equation
or function to cover this whole shebang?

Again, thank you for your help.
Reply With Quote
  #3 (permalink)  
Old 07-22-2008, 09:18 PM
=?Utf-8?B?S2VuIFNoZXJpZGFu?=
 
Posts: n/a
RE: It just got harder

You need to sum an expression which returns 1 if late and has a due date, 0
otherwise. This gives you a count of the relevant jobs. This is then
divided by the count of all jobs and the result multiplied by 100 to give a
percentage.

In a report based on your query an unbound text box in the report footer
would have this expression as its ControlSource:

=Sum(IIf([IsLate] = 1 And [HasDueDate] = 1,1,0))/Count(*)*100

Where Islate and HasDueDate are the column names.

That should give the percentage of late jobs against all jobs, both with and
without due dates. If those without due dates are also to be excluded from
the total against which the percentage is calculated the expression would be:

=Sum(IIf([IsLate] = 1 and [HasDueDate] = 1,1,0))/Sum(IIf([HasDueDate] =
1,1,0))*100

Ken Sheridan
Stafford, England

"Judi<><" wrote:

> O.K. now I have to go and complicate things...
>
> I just realized that not every quote has a due date. I have a field now to
> show whether there is a requested date or not (again, 1, 0). Any quote that
> does not have a due date is showing up in the other column as late.
>
> I need to not count those jobs against the estimators. Is there an equation
> or function to cover this whole shebang?
>
> Again, thank you for your help.


"Judi<><" wrote:

> Hi, my brain seems to have shut down temporarily and I need help with
> something.
>
> I have a field in a query that returns 1 or 0 and I need to find the % of
> times that the answer is 1. Then, I need to show this % in a report.
>
> The field details whether a quote was on-time or late. 1 = on-time and 0 =
> late.
>
> I need the on-time percentage.
>
> Please help me, I'm terrible at math, and this question shoved me over the
> edge.
>
> Thank you in advance for talking slowly and for using small words...


Reply With Quote
  #4 (permalink)  
Old 07-22-2008, 09:23 PM
=?Utf-8?B?SnVkaTw+PA==?=
 
Posts: n/a
RE: It just got harder

Thank you very much, I apperciate all the help that I get from you and all
the volunteers on this site. I hope that one day I will be able to help
someone.

"Ken Sheridan" wrote:

> You need to sum an expression which returns 1 if late and has a due date, 0
> otherwise. This gives you a count of the relevant jobs. This is then
> divided by the count of all jobs and the result multiplied by 100 to give a
> percentage.
>
> In a report based on your query an unbound text box in the report footer
> would have this expression as its ControlSource:
>
> =Sum(IIf([IsLate] = 1 And [HasDueDate] = 1,1,0))/Count(*)*100
>
> Where Islate and HasDueDate are the column names.
>
> That should give the percentage of late jobs against all jobs, both with and
> without due dates. If those without due dates are also to be excluded from
> the total against which the percentage is calculated the expression would be:
>
> =Sum(IIf([IsLate] = 1 and [HasDueDate] = 1,1,0))/Sum(IIf([HasDueDate] =
> 1,1,0))*100
>
> Ken Sheridan
> Stafford, England
>
> "Judi<><" wrote:
>
> > O.K. now I have to go and complicate things...
> >
> > I just realized that not every quote has a due date. I have a field now to
> > show whether there is a requested date or not (again, 1, 0). Any quote that
> > does not have a due date is showing up in the other column as late.
> >
> > I need to not count those jobs against the estimators. Is there an equation
> > or function to cover this whole shebang?
> >
> > Again, thank you for your help.

>
> "Judi<><" wrote:
>
> > Hi, my brain seems to have shut down temporarily and I need help with
> > something.
> >
> > I have a field in a query that returns 1 or 0 and I need to find the % of
> > times that the answer is 1. Then, I need to show this % in a report.
> >
> > The field details whether a quote was on-time or late. 1 = on-time and 0 =
> > late.
> >
> > I need the on-time percentage.
> >
> > Please help me, I'm terrible at math, and this question shoved me over the
> > edge.
> >
> > Thank you in advance for talking slowly and for using small words...

>

Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Access


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:12 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Advertising | Home Loan | Flights to Bangkok | Personal Loans | eBay



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114