Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JR
 
Posts: n/a
Default =SUMPRODUCT formula is counting the blank cells as well as zero's

Hello,

I am using the following to count a column of zeros in a worksheet if the
zeros occur during specific times.

=SUMPRODUCT(--(pathfinder_dump!G1:G10000=TIME(1,0,0)),--(pathfinder_dump!G1:G10000<=TIME(1,29,59)),--(pathfinder_dump!I1:I10000=0))

The trouble is that the formula is counting the blank cells as well. Can
someone tell me how to modify so the formula only counts the zeros?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default =SUMPRODUCT formula is counting the blank cells as well as zero's

Hi

You could add a NOT(ISBLANK()) to the end:
=SUMPRODUCT(--(pathfinder_dump!G1:G10000=TIME(1,0,0)),--(pathfinder_dump!G1:G10000<=TIME(1,29,59)),--(pathfinder_dump!I1:I10000=0),--(NOT(ISBLANK(pathfinder_dump!I1:I10000))))


Hope this helps.
Andy.


"JR" wrote in message
...
Hello,

I am using the following to count a column of zero's in a worksheet if the
zero's occur during specific times.

=SUMPRODUCT(--(pathfinder_dump!G1:G10000=TIME(1,0,0)),--(pathfinder_dump!G1:G10000<=TIME(1,29,59)),--(pathfinder_dump!I1:I10000=0))

The trouble is that the formula is counting the blank cells as well. Can
someone tell me how to modify so the formula only counts the zero's?

Thanks



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
How do i keep cells blank until the formula is used? Ellen Excel Discussion (Misc queries) 4 February 3rd 06 12:44 PM
Counting cells with formula CF (not value CF) jc Excel Worksheet Functions 2 December 22nd 05 08:21 PM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
formula to count cells not blanK pmarques Excel Worksheet Functions 4 August 3rd 05 01:44 PM


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