Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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.worksheet.functions
external usenet poster
 
Posts: 1,766
Default can't use function 'countif' in named range

Hi,

It works absolutely fine for me. I used the following formula
=COUNTIF(name,"A"). Name is defined as the range =Sheet1!$A$1:$A$7

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Roland" wrote in message
...
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.worksheet.functions
external usenet poster
 
Posts: 72
Default can't use function 'countif' in named range

not if Name is defined as ='Sheet1'!$W$189:$W$196,'Sheet1'!$W$200:$W$205

"Ashish Mathur" wrote:

Hi,

It works absolutely fine for me. I used the following formula
=COUNTIF(name,"A"). Name is defined as the range =Sheet1!$A$1:$A$7

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Roland" wrote in message
...
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.worksheet.functions
external usenet poster
 
Posts: 1,766
Default can't use function 'countif' in named range

Hi,

You can use 2 countif() functions instead. You ofcourse will have to define
the ranges differently

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Roland" wrote in message
...
not if Name is defined as ='Sheet1'!$W$189:$W$196,'Sheet1'!$W$200:$W$205

"Ashish Mathur" wrote:

Hi,

It works absolutely fine for me. I used the following formula
=COUNTIF(name,"A"). Name is defined as the range =Sheet1!$A$1:$A$7

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Roland" wrote in message
...
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
can't use function 'countif' in named range Roland Excel Discussion (Misc queries) 9 November 5th 08 08:29 PM
Variable named range in worksheet function Barb Reinhardt Excel Worksheet Functions 6 July 26th 08 03:39 AM
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 01:36 AM.

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

About Us

"It's about Microsoft Excel"