Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2006

Tip: Looking for answers? Try searching our database.

Counting occurance of text values across multiple worksheets

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jiq - 19 May 2006 11:03 GMT
Sorry for any repetition with previous questions but I am completely hopeless
with excel functions and got lost when attempting to use functions contained
within previous postings.

My problem: I have a questionnaire for 27 sites. For each site I have the
completed questionnaire entered into a seperate worksheet i.e 27 worksheets.
The answer for each question is "Y", "N", "NK", or "NA". I need to provide a
summary of the 27 sites which I want to enter on a blank master questionnaire
on a seperate sheet. Can anyone help with a formula that counts the number of
"Y",  etc for each question (the cell for each question is the same for each
site on the different sheets). If possible, can the summary cell indicate the
number of Y's, the number of N's, the number of NK's, and the number of
NA's?? It would also be fantastic to produce the results for each Y, N, NK,
and NA as a %.

Each questionnaire contains approx 200 questions so I would like to be able
to paste the formula into each result cell on the summary sheet.

Any assistance gratefully received!
Ardus Petus - 19 May 2006 11:41 GMT
I found a solution: linking the answer values to columns of summary sheet.
Then you can perform calculations within summary sheet.
Answer columns may be hidden in summary sheet.

See example with 3 sites and 16 questions: http://cjoint.com/?ftmPAplI7b

HTH
--
AP

> Sorry for any repetition with previous questions but I am completely
> hopeless
[quoted text clipped - 25 lines]
>
> Any assistance gratefully received!
Jiq - 19 May 2006 14:41 GMT
Thanks Ardus,
I will give it a try in a bit. If it works like your example I will be
totally grateful!
May need additional help as I attempt it though as when I looked at the
formulas you used I got lost!
Thanks for your help.
Jiq

> I found a solution: linking the answer values to columns of summary sheet.
> Then you can perform calculations within summary sheet.
[quoted text clipped - 35 lines]
> >
> > Any assistance gratefully received!
Jiq - 22 May 2006 10:14 GMT
Help please Ardus.
I tried to enter the formulas that you used in your example but I don't know
how to link the answer values to columns of the summary sheet. I don't
understand the formula used. Could you explain for me so that I can re-enter?
Many thanks
Jiq.

> Thanks Ardus,
> I will give it a try in a bit. If it works like your example I will be
[quoted text clipped - 43 lines]
> > >
> > > Any assistance gratefully received!
Ardus Petus - 22 May 2006 16:17 GMT
It is the same formula from F2 to H17. Excel automatically moves the
relative references to produce different references.

For F2, the formula appears as:
=INDIRECT(F$1&"!B"&ROW())

INDIRECT function has 1 string parameter, which must be a cell(s) reference.
For instance: =INDIRECT("B12") produces the same result as =B12

F$1 resolves to the first cell of current column, where you find the name of
the data worksheet ("Feuil2")

ROW() returns current row (2)

F$1&"!B"&ROW() concatenates the 3 elements and returns string "Feuil2!B2",
which is the reference of the cell containing the answer to question #1

I used INDIRECT and ROW functions so that I can use the same formula
throughout the whole array.

I hope I have beeen clear enough

You must replace my sheet names (feuil2, feuil3, feuil4) by the names of
your individual site worksheets
(if you have more than 3, you can extend the list to the right, then copy my
formula to the newly created columns).

If you're stuck, you can upload your workbook on http://cjoint.com , post
back the link, and I'll be glad to fix it for you.

HTH
--
AP

> Help please Ardus.
> I tried to enter the formulas that you used in your example but I don't
[quoted text clipped - 62 lines]
>> > >
>> > > Any assistance gratefully received!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.