PC Review


Reply
Thread Tools Rate Thread

Average only if there is a value

 
 
Cranky
Guest
Posts: n/a
 
      19th Jun 2006
Hi

I have a database of around 400 people who shown an interest in getting
financial assistance. Of those, some have shown the interest, but not
returned an application form, some have returned the form and are
awaiting processing, and some have been processed. The information that
defines these are stored in fields called 'DateFormRecd',
'HBW£','HBA£','CTW£' and 'CTA£'

How do I structure a query to give me an average of only those who've
returned the form?

Thanks in advance

S

 
Reply With Quote
 
 
 
 
Joseph Meehan
Guest
Posts: n/a
 
      19th Jun 2006
Cranky wrote:
> Hi
>
> I have a database of around 400 people who shown an interest in
> getting financial assistance. Of those, some have shown the interest,
> but not returned an application form, some have returned the form and
> are awaiting processing, and some have been processed. The
> information that defines these are stored in fields called
> 'DateFormRecd', 'HBW£','HBA£','CTW£' and 'CTA£'
>
> How do I structure a query to give me an average of only those who've
> returned the form?
>
> Thanks in advance
>
> S


I am not clear from what you wrote what criteria or set of criteria
would select only records with value. In any case, you need to select a
criteria that will select only records with value then your average will
only include those records.


--
Joseph Meehan

Dia duit


 
Reply With Quote
 
Cranky
Guest
Posts: n/a
 
      19th Jun 2006
Joseph Meehan wrote:

> I am not clear from what you wrote what criteria or set of criteria
> would select only records with value. In any case, you need to select a
> criteria that will select only records with value then your average will
> only include those records.


Hi Joseph, thanks for replying.

It would be to average those only where the 'DateFormRecd' field is
filled.

S

 
Reply With Quote
 
=?Utf-8?B?V2F5bmUtSS1N?=
Guest
Posts: n/a
 
      19th Jun 2006
What do you want an average of. Can't really see how you can get an
"average" of people who have sent froms back or any other items in your list.
You could (for example) have a percentage of the total forms sent out, etc
but an average is simply a sum the total number / a count of the items you
wish to average and for that you need a number that you wih to divide the
total by.

Have you some more information or, better still a small sample of the data.


--
Wayne
Manchester, England.



"Cranky" wrote:

> Hi
>
> I have a database of around 400 people who shown an interest in getting
> financial assistance. Of those, some have shown the interest, but not
> returned an application form, some have returned the form and are
> awaiting processing, and some have been processed. The information that
> defines these are stored in fields called 'DateFormRecd',
> 'HBW£','HBA£','CTW£' and 'CTA£'
>
> How do I structure a query to give me an average of only those who've
> returned the form?
>
> Thanks in advance
>
> S
>
>

 
Reply With Quote
 
Cranky
Guest
Posts: n/a
 
      19th Jun 2006

Sorry, I'm being dense.

It's a benefit take-up campaign. A flier went out with Council Tax
bills (UK) asking people to return the tear-off if they were
interested. Those sent in had a full application form sent to them.

Those who returned their form are either awaiting assessment, or have
been assessed, for Housing Benefit, and/or Council Tax benefit. I have
to be able to show the elected members how much benefit has been paid
out as a result of the scheme. I can do the 'Sum of arrears paid' bit
for HB and CT easily, but hten I grind to a halt.

So, _of those who returned the application form (DateFormRec'd)_ I need
to know the average of each of the following:

Weekly Housing Benefit (HBW£)
Housing Benefit Arrears (HBA£)
Weekly Council Tax Benefit (CTW£)
Council Tax Benefit Arrears (CTA£)

There are around 400 people who showed an interest, of which 60 have
returned the full forms. So far around 30 have been assessed. I want to
be able to see these averages change as each new claim is assessed.
These aren't set rate payments, you see; each claim could get very
different amounts.

Cheers

S

 
Reply With Quote
 
=?Utf-8?B?V2F5bmUtSS1N?=
Guest
Posts: n/a
 
      19th Jun 2006
Hi Cranky

There are many way to get the average you are after (where in the sql -
=iif(ect etc). But it would be a good idea to try and keep things as simply
as possible. So why not simply put in some criteria in your query to show
only who has sent back thier forms - if you have a yes no box on your form
you could set 1 as the criteria. Or you could use >1 for anyone who has
recieved anything ( or <1 if you work in arrears).
Once you have only the people you want simply press the totals option button
at the top of the screen and see what you get (there is an avg option on the
drop down)

Dont forget you can always use the query to feed another query (with totals)

Do I get a reduction in my council tax for this ?? (smile)
--
Wayne
Manchester, England.



"Cranky" wrote:

>
> Sorry, I'm being dense.
>
> It's a benefit take-up campaign. A flier went out with Council Tax
> bills (UK) asking people to return the tear-off if they were
> interested. Those sent in had a full application form sent to them.
>
> Those who returned their form are either awaiting assessment, or have
> been assessed, for Housing Benefit, and/or Council Tax benefit. I have
> to be able to show the elected members how much benefit has been paid
> out as a result of the scheme. I can do the 'Sum of arrears paid' bit
> for HB and CT easily, but hten I grind to a halt.
>
> So, _of those who returned the application form (DateFormRec'd)_ I need
> to know the average of each of the following:
>
> Weekly Housing Benefit (HBW£)
> Housing Benefit Arrears (HBA£)
> Weekly Council Tax Benefit (CTW£)
> Council Tax Benefit Arrears (CTA£)
>
> There are around 400 people who showed an interest, of which 60 have
> returned the full forms. So far around 30 have been assessed. I want to
> be able to see these averages change as each new claim is assessed.
> These aren't set rate payments, you see; each claim could get very
> different amounts.
>
> Cheers
>
> S
>
>

 
Reply With Quote
 
Joseph Meehan
Guest
Posts: n/a
 
      19th Jun 2006
Cranky wrote:
> Joseph Meehan wrote:
>
>> I am not clear from what you wrote what criteria or set of
>> criteria would select only records with value. In any case, you
>> need to select a criteria that will select only records with value
>> then your average will only include those records.

>
> Hi Joseph, thanks for replying.
>
> It would be to average those only where the 'DateFormRecd' field is
> filled.
>
> S


Depending on the filed type that might be >0 or is not null etc.

--
Joseph Meehan

Dia duit


 
Reply With Quote
 
Cranky
Guest
Posts: n/a
 
      19th Jun 2006
Wayne-I-M wrote:

> So why not simply put in some criteria in your query to show
> only who has sent back thier forms - if you have a yes no box on your form
> you could set 1 as the criteria. Or you could use >1 for anyone who has
> recieved anything ( or <1 if you work in arrears).
> Once you have only the people you want simply press the totals option button
> at the top of the screen and see what you get (there is an avg option on the
> drop down)


Great; thanks. I'll give that a go.
*update* Yup, works perfectly. Thank you!

> Do I get a reduction in my council tax for this ?? (smile)


Hah! Nice try, wiseguy.
No. You don't.

Steve

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: A useful AVERAGE calculation without using the built-in AVERAGE function קובי Microsoft Excel New Users 0 3rd Feb 2011 04:25 PM
Re: A useful AVERAGE calculation without using the built-in AVERAGE function Roger Govier Microsoft Excel New Users 0 16th Jan 2011 01:20 PM
A formula to AVERAGE IF but only average a set number of values DonFlak@gmail.com Microsoft Excel Worksheet Functions 2 31st Jan 2008 08:28 PM
Find monthly average but have average automatically configured =?Utf-8?B?a2ltYmFmcmVk?= Microsoft Excel Misc 2 8th Aug 2007 12:28 AM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Microsoft Excel Worksheet Functions 13 31st Jul 2005 03:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:22 AM.