Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
ferde
 
Posts: n/a
Default countif function in multiple worksheets

I have been trying to use the countif function to count the number of times a
"Y" response occurs in a specific cell in 15 different worksheets that are
all in one workbook. ... I have tried
=SUM(COUNTIF('1:15'!B51,{"Y","N"}) but I keep on getting a "value error".
This formula works in one worksheet but it wont count multiple worksheets.
I've been trying to solve this for days by myself but I'm stuck. I'm a new
user and really would appreciate any help.

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Bob Phillips
 
Posts: n/a
Default countif function in multiple worksheets

=SUMPRODUCT(COUNTIF(INDIRECT("'"&ROW(INDIRECT("1:1 5"))&"'!B51"),{"Y","N"}))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"ferde" wrote in message
...
I have been trying to use the countif function to count the number of

times a
"Y" response occurs in a specific cell in 15 different worksheets that

are
all in one workbook. ... I have tried
=SUM(COUNTIF('1:15'!B51,{"Y","N"}) but I keep on getting a "value

error".
This formula works in one worksheet but it wont count multiple

worksheets.
I've been trying to solve this for days by myself but I'm stuck. I'm a

new
user and really would appreciate any help.

Thank you



  #3   Report Post  
Posted to microsoft.public.excel.newusers
ferde
 
Posts: n/a
Default countif function in multiple worksheets

Bob Thank you Thank you Thank you.... I have been working on this for days
and you solved it for me . I really appreciate your help

"ferde" wrote:

I have been trying to use the countif function to count the number of times a
"Y" response occurs in a specific cell in 15 different worksheets that are
all in one workbook. ... I have tried
=SUM(COUNTIF('1:15'!B51,{"Y","N"}) but I keep on getting a "value error".
This formula works in one worksheet but it wont count multiple worksheets.
I've been trying to solve this for days by myself but I'm stuck. I'm a new
user and really would appreciate any help.

Thank you

  #4   Report Post  
Posted to microsoft.public.excel.newusers
Bob Phillips
 
Posts: n/a
Default countif function in multiple worksheets

You should have asked earlier <vbg

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"ferde" wrote in message
...
Bob Thank you Thank you Thank you.... I have been working on this for

days
and you solved it for me . I really appreciate your help

"ferde" wrote:

I have been trying to use the countif function to count the number of

times a
"Y" response occurs in a specific cell in 15 different worksheets that

are
all in one workbook. ... I have tried
=SUM(COUNTIF('1:15'!B51,{"Y","N"}) but I keep on getting a "value

error".
This formula works in one worksheet but it wont count multiple

worksheets.
I've been trying to solve this for days by myself but I'm stuck. I'm a

new
user and really would appreciate any help.

Thank you



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
CountIf Function Help Needed Mark Excel Worksheet Functions 4 January 30th 06 03:37 AM
Adding same cells across multiple worksheets LACA Excel Worksheet Functions 2 January 19th 06 03:21 PM
MATCH function through multiple worksheets [email protected] Excel Worksheet Functions 1 December 27th 05 09:13 PM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
Multiple Worksheets and Print Merge function pfe Excel Discussion (Misc queries) 2 December 2nd 04 11:23 PM


All times are GMT +1. The time now is 07:29 PM.

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

About Us

"It's about Microsoft Excel"