#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 661
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 661
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 661
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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
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 to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
How to use SUMIF function with non-adjacent cells KLaw Excel Worksheet Functions 5 October 19th 06 10:15 AM
Sumif of Sumif perhaps? Fred Excel Discussion (Misc queries) 2 March 29th 06 05:39 PM
SUMIF Ferg Excel Worksheet Functions 3 February 28th 06 03:37 AM
SUMIF with Mutiple Ranges & Criteria PokerZan Excel Discussion (Misc queries) 5 August 4th 05 10:31 PM


All times are GMT +1. The time now is 11:48 AM.

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"