Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
add this to your formula
1-ISBLANK(C1:C6) =SUMPRODUCT(1-ISBLANK(C1:C6),--(pathfinder_dump!G1:G10000=TIME(1,0,0)),--(pathfinder_dump!G1:G10000<=TIME(1,29,59)),--(pathfinder_dump!I1:I10000=0)) "JR" wrote: 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 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
sorry, I didn't change the range in my last post.
=SUMPRODUCT(1-ISBLANK(pathfinder_dump!I1:I10000),--(pathfinder_dump!G1:G10000=TIME(1,0,0)),--(pathfinder_dump!G1:G10000<=TIME(1,29,59)),--(pathfinder_dump!I1:I10000=0)) "JR" wrote: 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do i keep cells blank until the formula is used? | Excel Discussion (Misc queries) | |||
checking that cells have a value before the workbook will close | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
formula to count cells not blanK | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions |