Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMIF ?
I would like a formula that calculates the sum of the cells in column M where
the cell in column D of that row is blank. And another where cells in column D and column E of each row are both blank. I'm pretty sure Excel can do it - I just can't figure it out. Thanks for your help! |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMIF ?
Assuming data is within rows 2 to 9
these should work fine: =SUMPRODUCT(--(D2:D9=""),M2:M9) =SUMPRODUCT((D2:D9="")*(E2:E9=""),M2:M9) -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Paul" wrote: I would like a formula that calculates the sum of the cells in column M where the cell in column D of that row is blank. And another where cells in column D and column E of each row are both blank. I'm pretty sure Excel can do it - I just can't figure it out. Thanks for your help! |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMIF ?
the first formula returned 0 instead of the correct number
the next formula returned #value! error I must be doing something wrong... "Max" wrote: Assuming data is within rows 2 to 9 these should work fine: =SUMPRODUCT(--(D2:D9=""),M2:M9) =SUMPRODUCT((D2:D9="")*(E2:E9=""),M2:M9) -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Paul" wrote: I would like a formula that calculates the sum of the cells in column M where the cell in column D of that row is blank. And another where cells in column D and column E of each row are both blank. I'm pretty sure Excel can do it - I just can't figure it out. Thanks for your help! |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMIF ?
OK - now I got it!
I put a space in between the " marks. Thanks so much!! "Paul" wrote: the first formula returned 0 instead of the correct number the next formula returned #value! error I must be doing something wrong... "Max" wrote: Assuming data is within rows 2 to 9 these should work fine: =SUMPRODUCT(--(D2:D9=""),M2:M9) =SUMPRODUCT((D2:D9="")*(E2:E9=""),M2:M9) -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Paul" wrote: I would like a formula that calculates the sum of the cells in column M where the cell in column D of that row is blank. And another where cells in column D and column E of each row are both blank. I'm pretty sure Excel can do it - I just can't figure it out. Thanks for your help! |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMIF ?
Glad you got it working there!
-- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Paul" wrote in message ... OK - now I got it! I put a space in between the " marks. Thanks so much!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to use SUMIF to return sums between two values located in cells | Excel Worksheet Functions | |||
How to use SUMIF function with non-adjacent cells | Excel Worksheet Functions | |||
Sumif of Sumif perhaps? | Excel Discussion (Misc queries) | |||
SUMIF | Excel Worksheet Functions | |||
SUMIF with Mutiple Ranges & Criteria | Excel Discussion (Misc queries) |