#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default CountIF question

Hi all

Can anyone help with the correct syntax for tha following please.

I need the formula to count all the cells in this exact range that are not
blank.


=countif(not(blank(B8:B11,I7,I9:I11,P7,P8,P10,P11, W7:W9,W11,AD7,AD8,AD9,AD10)))

TIA
Mark.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 136
Default CountIF question

Hi Mark,

Maybe...

=COUNTA(B8:B11,I7,I9:I11,P7,P8,P10,P11,W7:W9,W11,A D7,AD8,AD9,AD10)

Hope this helps,

Gav.

"NoodNutt" wrote:

Hi all

Can anyone help with the correct syntax for tha following please.

I need the formula to count all the cells in this exact range that are not
blank.


=countif(not(blank(B8:B11,I7,I9:I11,P7,P8,P10,P11, W7:W9,W11,AD7,AD8,AD9,AD10)))

TIA
Mark.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 109
Default CountIF question

Mark

Highligh all the cells you are counting (use the control-left click to
highlight the discontinuous range). Then name the discontinuous range
e.g. "test" (Insert-Name-Define).

Then use this formula:

=counta(test)

Naming the range is a little messy, but, the formula is easy after you
have defined the name.

Goodl luck.

Ken
Norfolk, Va


On Apr 18, 3:09*am, "NoodNutt" wrote:
Hi all

Can anyone help with the correct syntax for tha following please.

I need the formula to count all the cells in this exact range that are not
blank.

=countif(not(blank(B8:B11,I7,I9:I11,P7,P8,P10,P11, W7:W9,W11,AD7,AD8,AD9,AD1*0)))

TIA
Mark.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default CountIF question

Hi Gav,
Jumping in here, on a related issue:
COUNT and COUNTA can handle multiple ranges like the one below, but I
haven't managed to do that with COUNTIF. When I insert the comma to separate
each range, the function seems to see the following range as the condition
thingy.
Is it possible to use multiple ranges inside the COUNTIF function?
Dave.

=COUNTA(B8:B11,I7,I9:I11,P7,P8,P10,P11,W7:W9,W11,A D7,AD8,AD9,AD10)


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default CountIF question

Hi Ken,
Thanks! Why don't I think of these things?
Dave.


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 221
Default CountIF question

Thx everyone

Appreciate the input & help

Regards
Mark.


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
Countif Question?! Boulder257 Excel Discussion (Misc queries) 7 January 26th 06 03:35 PM
CountIf Question Boulder257 Excel Discussion (Misc queries) 3 January 26th 06 12:43 PM
CountIF Question guile Excel Worksheet Functions 1 January 26th 06 02:43 AM
COUNTIF Question Jim Excel Discussion (Misc queries) 3 May 15th 05 09:22 PM
countif question Tuc Excel Worksheet Functions 1 April 22nd 05 06:19 PM


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