Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Puzzler
 
Posts: n/a
Default Why cant I use =countif(Jan:Mar!$b3)

=sum(Jan:Mar!$b3) works fine. Why can't I use this same 3d reference with
the countif option. The values in the cells are all numbers - but I receive a
#value error.
  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default

Not all functions support 3D ranges. COUNTIF doesn't.


I
"Puzzler" wrote in message
...
=sum(Jan:Mar!$b3) works fine. Why can't I use this same 3d
reference with
the countif option. The values in the cells are all numbers -
but I receive a
#value error.



  #3   Report Post  
Harlan Grove
 
Posts: n/a
Default

Puzzler wrote...
=sum(Jan:Mar!$b3) works fine. Why can't I use this same 3d reference with
the countif option. The values in the cells are all numbers - but I receive a
#value error.


Because Microsoft wasn't sufficiently passionate about this aspect of
your potential.

You'll need to use a list of worksheet names, ideally referring to it
using a defined name like WSLst. For your sample formula above, you
could define WSLst as ={"Jan";"Feb";"Mar"} and use a formula like

=SUMPRODUCT(COUNTIF(INDIRECT("'"&WSLst&"'!B3"),<wh atever))

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



All times are GMT +1. The time now is 12:27 AM.

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"