Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ignore blank cells
How do I get this formula:
=SUMPRODUCT(--(D$5:D$31-I$5:I$31<60)) To ignore empty cells? It's currently tallying all the empty ones contained in the ranges. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ignore blank cells
=SUMPRODUCT(--($D$5:$D$31<""),--($I$5:$I$31<""),--((D$5:D$31-I$5:I$31)<60))
-- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Angyl" wrote in message ... How do I get this formula: =SUMPRODUCT(--(D$5:D$31-I$5:I$31<60)) To ignore empty cells? It's currently tallying all the empty ones contained in the ranges. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ignore blank cells
How do I get this formula:
=SUMPRODUCT(--(D$5:D$31-I$5:I$31<60)) To ignore empty cells? It's currently tallying all the empty ones contained in the ranges. Something like this maybe... =SUMPRODUCT(--(D$5:D$31-I$5:I$31<60)*(D$5:D$31<"")*(I$5:I$31<"")) where you include additional logical expressions to filter those conditions. Rick |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ignore blank cells
Beautiful, thanks Bob.
"Bob Phillips" wrote: =SUMPRODUCT(--($D$5:$D$31<""),--($I$5:$I$31<""),--((D$5:D$31-I$5:I$31)<60)) -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Angyl" wrote in message ... How do I get this formula: =SUMPRODUCT(--(D$5:D$31-I$5:I$31<60)) To ignore empty cells? It's currently tallying all the empty ones contained in the ranges. |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ignore blank cells
For the format I used (multiplying the logical expressions), I could have
left off the double unary signs... =SUMPRODUCT((D$5:D$31-I$5:I$31<60)*(D$5:D$31<"")*(I$5:I$31<"")) They would only be needed if you used the comma delineated listing of the logical expressions. Rick "Rick Rothstein (MVP - VB)" wrote in message ... How do I get this formula: =SUMPRODUCT(--(D$5:D$31-I$5:I$31<60)) To ignore empty cells? It's currently tallying all the empty ones contained in the ranges. Something like this maybe... =SUMPRODUCT(--(D$5:D$31-I$5:I$31<60)*(D$5:D$31<"")*(I$5:I$31<"")) where you include additional logical expressions to filter those conditions. Rick |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
ignore blank cells in function | Excel Discussion (Misc queries) | |||
ignore blank cells | Excel Discussion (Misc queries) | |||
How to ignore blank cells | Charts and Charting in Excel | |||
how do you ignore blank cells in formulas | Excel Discussion (Misc queries) | |||
how do you ignore blank cells | Excel Discussion (Misc queries) |