Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Anthony Slater
 
Posts: n/a
Default Counif with different cells, not a range

How can I count all the the 'zeros' from different cells such as A1, D1, G1, H1

TIA
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Counif with different cells, not a range

Try this

=SUMPRODUCT(--(COUNTIF(OFFSET(1:1,0,{0,3,6,7},1,1),0)))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Anthony Slater" wrote in message
...
How can I count all the the 'zeros' from different cells such as A1, D1,

G1, H1

TIA



  #3   Report Post  
Posted to microsoft.public.excel.misc
Anthony Slater
 
Posts: n/a
Default Counif with different cells, not a range

Thanks Bob

That worked a treat...

Have a good Christmas

"Bob Phillips" wrote:

Try this

=SUMPRODUCT(--(COUNTIF(OFFSET(1:1,0,{0,3,6,7},1,1),0)))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Anthony Slater" wrote in message
...
How can I count all the the 'zeros' from different cells such as A1, D1,

G1, H1

TIA




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
Display first, second, etc Nonblank Cells in a Range Jeremy N. Excel Worksheet Functions 12 September 25th 05 01:47 PM
How to use macros to copy a range of cells which can exclude some cells which I didn't want to be copied? excelnovice Excel Worksheet Functions 2 September 25th 05 12:38 AM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 2 May 2nd 05 08:53 AM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 0 April 7th 05 12:47 AM
Count cells in one range based on parameters in another range dave roth Excel Worksheet Functions 2 March 29th 05 05:33 PM


All times are GMT +1. The time now is 10:38 PM.

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"