Re: counting the number of responses
- From: "Duane Hookom" <duanehookom@xxxxxxxxxxxxxxxxx>
- Date: Sun, 1 Jan 2006 14:28:49 -0600
You could try normalize your table structure with a union query. Then, make
a totals query based on the union query:
SELECT 1 as Question, [Q1] as Response
FROM tblQuestionniare
UNION ALL
SELECT 2, [Q2]
FROM tblQuestionnaire
UNION ALL
....;
Then create your totals query
SELECT Question, Response, Count(Response) as NumOf
FROM quniYourQuery
GROUP BY Question, Response;
--
Duane Hookom
MS Access MVP
--
"sdg8481" <sdg8481@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D1644A1F-FF7D-4EB5-B74F-495D1023AE00@xxxxxxxxxxxxxxxx
> Hi,
>
> I'm not sure if this is possible but i have a table complete with
> responses
> from a questionnaire, the possible reponses are mostly as follows; Very
> Good,
> Good, Average, Bad, Very Bad. etc.....
>
> My table is set out with the unique identifier as the row header and the
> question number as each column heading and the reponse given (in text) as
> the
> value. Therefore, is there a way i can count the number of response for
> each
> question, eg.. for question 1 the number that said good, the number that
> said
> bad, etc..... and so on for about 40 questions.
>
> The only way i can think of is an individual crosstab query for every
> question, but is there another way.....
>
> Thanks in Advance
.
- Follow-Ups:
- Re: counting the number of responses
- From: sdg8481
- Re: counting the number of responses
- Prev by Date: Re: Sort ignores apostrophe
- Next by Date: Re: Rounding Numbers in queries
- Previous by thread: Re: Sort ignores apostrophe
- Next by thread: Re: counting the number of responses
- Index(es):
Relevant Pages
|