Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default can't use function 'countif' in named range

have a named range from non-adjacent ranges
most of Excels build-in functions can be used with this named range (such
as, min, max are sum)
However the function CountIf can't be used,
got a message in the cell "#value!"
why is that ?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default can't use function 'countif' in named range

You can't use COUNTIF() in disjoint ranges. Use:

=COUNTIF()+COUNTIF()+...

instead
--
Gary''s Student - gsnu200811


"Roland" wrote:

have a named range from non-adjacent ranges
most of Excels build-in functions can be used with this named range (such
as, min, max are sum)
However the function CountIf can't be used,
got a message in the cell "#value!"
why is that ?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default can't use function 'countif' in named range

agree
but the named range is dynamically, meaning it expands on regular base, this
mean I have to change the formula each time !

"Gary''s Student" wrote:

You can't use COUNTIF() in disjoint ranges. Use:

=COUNTIF()+COUNTIF()+...

instead
--
Gary''s Student - gsnu200811


"Roland" wrote:

have a named range from non-adjacent ranges
most of Excels build-in functions can be used with this named range (such
as, min, max are sum)
However the function CountIf can't be used,
got a message in the cell "#value!"
why is that ?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default can't use function 'countif' in named range

There might be other methods of doing your counts. Are your named ranges
broken up with regularity? What defines a named range? Is it a particular
column, cell, calculation?
--
** John C **


"Roland" wrote:

agree
but the named range is dynamically, meaning it expands on regular base, this
mean I have to change the formula each time !

"Gary''s Student" wrote:

You can't use COUNTIF() in disjoint ranges. Use:

=COUNTIF()+COUNTIF()+...

instead
--
Gary''s Student - gsnu200811


"Roland" wrote:

have a named range from non-adjacent ranges
most of Excels build-in functions can be used with this named range (such
as, min, max are sum)
However the function CountIf can't be used,
got a message in the cell "#value!"
why is that ?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default can't use function 'countif' in named range

no regularity in ranges. ranges will be decrease or increase on regular base.
ranges are defined in 1 single column
for example; range name is defined as cells B1:B5 + B8:B10 + B15
only last cell, B15, can be extended or new ranges can follow further down
regards
roland
"John C" wrote:

There might be other methods of doing your counts. Are your named ranges
broken up with regularity? What defines a named range? Is it a particular
column, cell, calculation?
--
** John C **


"Roland" wrote:

agree
but the named range is dynamically, meaning it expands on regular base, this
mean I have to change the formula each time !

"Gary''s Student" wrote:

You can't use COUNTIF() in disjoint ranges. Use:

=COUNTIF()+COUNTIF()+...

instead
--
Gary''s Student - gsnu200811


"Roland" wrote:

have a named range from non-adjacent ranges
most of Excels build-in functions can be used with this named range (such
as, min, max are sum)
However the function CountIf can't be used,
got a message in the cell "#value!"
why is that ?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default can't use function 'countif' in named range

What I am trying to ask, is, why are cells B1:B5 a named range? why are cells
B8:B10 a named range, and B15+ a named range? What makes them named? What
criteria are you using to name these ranges?
--
** John C **

"rolando" wrote:

no regularity in ranges. ranges will be decrease or increase on regular base.
ranges are defined in 1 single column
for example; range name is defined as cells B1:B5 + B8:B10 + B15
only last cell, B15, can be extended or new ranges can follow further down
regards
roland
"John C" wrote:

There might be other methods of doing your counts. Are your named ranges
broken up with regularity? What defines a named range? Is it a particular
column, cell, calculation?
--
** John C **


"Roland" wrote:

agree
but the named range is dynamically, meaning it expands on regular base, this
mean I have to change the formula each time !

"Gary''s Student" wrote:

You can't use COUNTIF() in disjoint ranges. Use:

=COUNTIF()+COUNTIF()+...

instead
--
Gary''s Student - gsnu200811


"Roland" wrote:

have a named range from non-adjacent ranges
most of Excels build-in functions can be used with this named range (such
as, min, max are sum)
However the function CountIf can't be used,
got a message in the cell "#value!"
why is that ?

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
Variable named range in worksheet function Barb Reinhardt Excel Worksheet Functions 6 July 26th 08 03:39 AM
Named Range references in function formulas Bob Excel Worksheet Functions 1 March 11th 08 04:21 PM
Countif + Named range Jonathan Excel Worksheet Functions 5 August 16th 06 09:51 AM
dynamic named range function MJB Excel Worksheet Functions 1 August 5th 05 05:56 AM
how do you use named cells in the countif function boofybrunt Excel Worksheet Functions 5 April 13th 05 09:31 AM


All times are GMT +1. The time now is 08:44 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"