View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jock Jock is offline
external usenet poster
 
Posts: 440
Default Countif looking at many sheets

All I get is #REF!
All sheets have names - would that make it easier?
--
Traa Dy Liooar

Jock


"Teethless mama" wrote:

Remove the $ sign in the data range

=SUM(COUNTIF(INDIRECT("Sheet"&{1,2,3,4}&"!Z4:Z4000 "),"b"))


"Teethless mama" wrote:

=SUM(COUNTIF(INDIRECT("Sheet"&{1,2,3,4}&"!Z$4:Z$40 00"),"b"))

"Jock" wrote:

How can I adapt the following to also look in the same range in sheet1!,
sheet2! and sheet3! as well as sheet 4! ?
=COUNTIF(sheet4!Z$4:Z$4000,"b")
--
Traa Dy Liooar

Jock