Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gizmo63
 
Posts: n/a
Default COUNTIF across multiple sheets

Hi folks,
I'm pulling together the results of multiple questionaires taking the form
of a numeric answer (1-4). The responses have been pulled into a master
workbook and the all reside between marker tabs ("first" and "last").

Some formulas work OK across the range but not all. e.g
=SUM('first:last'!F4) returns a valid answer as do AVERAGE, COUNT and COUNTA

However COUNTIF or SUMIF all return #Value errors. It's not formatting or
bad input as the error still occurs when there is only 1 data sheet between
the marker tabs.

I suspect it may need an 'array' type formula but that's not a strong area
for me.

Can anyone give me a working COUNTIF formula?

Many thanks, Giz
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default COUNTIF across multiple sheets

=SUMPRODUCT(COUNTIF(INDIRECT("'"&C1:C3&"'!C8"),"va lue"))

where C1:C3 is a range housing the relevant sheetnames in
separate cells.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Gizmo63" wrote in message
...
Hi folks,
I'm pulling together the results of multiple questionaires taking the form
of a numeric answer (1-4). The responses have been pulled into a master
workbook and the all reside between marker tabs ("first" and "last").

Some formulas work OK across the range but not all. e.g
=SUM('first:last'!F4) returns a valid answer as do AVERAGE, COUNT and

COUNTA

However COUNTIF or SUMIF all return #Value errors. It's not formatting or
bad input as the error still occurs when there is only 1 data sheet

between
the marker tabs.

I suspect it may need an 'array' type formula but that's not a strong area
for me.

Can anyone give me a working COUNTIF formula?

Many thanks, Giz



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gizmo63
 
Posts: n/a
Default COUNTIF across multiple sheets

Thanks Bob (again!),
I doubt I would have ever got to that combination. Shame you can't just
specifiy "sheet1:sheet26". Maybe Microsoft will add it sometime.

Cheers, Giz

"Bob Phillips" wrote:

=SUMPRODUCT(COUNTIF(INDIRECT("'"&C1:C3&"'!C8"),"va lue"))

where C1:C3 is a range housing the relevant sheetnames in
separate cells.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Gizmo63" wrote in message
...
Hi folks,
I'm pulling together the results of multiple questionaires taking the form
of a numeric answer (1-4). The responses have been pulled into a master
workbook and the all reside between marker tabs ("first" and "last").

Some formulas work OK across the range but not all. e.g
=SUM('first:last'!F4) returns a valid answer as do AVERAGE, COUNT and

COUNTA

However COUNTIF or SUMIF all return #Value errors. It's not formatting or
bad input as the error still occurs when there is only 1 data sheet

between
the marker tabs.

I suspect it may need an 'array' type formula but that's not a strong area
for me.

Can anyone give me a working COUNTIF formula?

Many thanks, Giz




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default COUNTIF across multiple sheets

I agree, 3D counting/summing is somewhat crippled. I don't think it is any
better in Office 12 either (but I may be wrong<G).

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Gizmo63" wrote in message
...
Thanks Bob (again!),
I doubt I would have ever got to that combination. Shame you can't just
specifiy "sheet1:sheet26". Maybe Microsoft will add it sometime.

Cheers, Giz

"Bob Phillips" wrote:

=SUMPRODUCT(COUNTIF(INDIRECT("'"&C1:C3&"'!C8"),"va lue"))

where C1:C3 is a range housing the relevant sheetnames in
separate cells.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Gizmo63" wrote in message
...
Hi folks,
I'm pulling together the results of multiple questionaires taking the

form
of a numeric answer (1-4). The responses have been pulled into a

master
workbook and the all reside between marker tabs ("first" and "last").

Some formulas work OK across the range but not all. e.g
=SUM('first:last'!F4) returns a valid answer as do AVERAGE, COUNT and

COUNTA

However COUNTIF or SUMIF all return #Value errors. It's not formatting

or
bad input as the error still occurs when there is only 1 data sheet

between
the marker tabs.

I suspect it may need an 'array' type formula but that's not a strong

area
for me.

Can anyone give me a working COUNTIF formula?

Many thanks, Giz






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening multiple Excel files that contain varied selected sheets MLBrownewell Excel Worksheet Functions 0 September 14th 05 05:48 PM
selecting multiple sheets Shaun Excel Worksheet Functions 1 August 31st 05 04:09 PM
Can I unhide multiple sheets at once? Brockli Excel Discussion (Misc queries) 1 February 24th 05 07:46 PM
editing multiple sheets at once blamires Excel Discussion (Misc queries) 1 January 5th 05 08:51 PM
linking multiple sheets to a summary sheet greg g Excel Discussion (Misc queries) 1 December 16th 04 07:43 AM


All times are GMT +1. The time now is 03:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"