Thread: 3d countif
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme[_3_] Bernard Liengme[_3_] is offline
external usenet poster
 
Posts: 1,104
Default 3d countif

=SUMPRODUCT(COUNTIF(INDIRECT("'"&A2:A4&"'!D3"),"D" ))
where A2:A4 holds the names of each sheet to be used -- extend if needed
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Mrfish" wrote in message
...
I would like to do a 3d countif across multiple sheets. I simply want to
count the cells containing 'D's. Something like
=COUNTIF(Start:End!D43,"D")
would be ideal if it worked!

Unfortunately I see now that countif() doesn't work with a 3d reference. I
see some other answers here have used a =sumproduct(n(... function to get
round this, but didn't understand it.

Can anyone here help?