We know how to use SUMIFS function to answer questions like, “What is the sum of values for ‘A’?” But how would you answer questions like,
- What is the sum of values that are neither “A” nor “B”?
We can still use SUMIFS, but it will get awfully long. So let’s turn our attention to other functions in Excel.

You can use either DSUM or SUMPRODUCT to answer questions like this.
Using DSUM function to sum up neither “A” nor “B” values
Check out below video to understand how to use both DSUM & SUMPRODUCT formulas to calculate sum of neither “A” nor “B” values.
You can also watch this video on our YouTube Channel.
Download Example Workbook
Click here to download example workbook for this video. Play with the formulas to learn more.
More formula examples:
Check out below formula examples to up your Excel game.
- Writing Either Or formulas in Excel
- XOR condition in Excel
- Filtering values that meet multiple conditions
- Introduction to SUMIFS, SUMPRODUCT formulas
Don’t be a beginner OR newbie, master Excel with this awesome program
Excel skills can help you immensely at work and make you popular. So why struggle as a beginner. Become awesome in Excel today with our Excel School program. This comprehensive online course will teach you,
- Data analysis with Excel formulas
- Visual analysis with Charts
- Interactive analysis with Pivot tables, form controls
- Management / Exec reporting with Excel dashboards
- Productivity with key board shortcuts & ninja tricks
Check out Excel School program page for full details and enrollment options.














4 Responses to “Office 2010 Contest Winners are here!!!”
I while ago I wrote a post on selecting a couple of names from a range via an UDF
I could have been handy.... especially because I didn't win.... lol
http://xlns.lamkamp.nl/?p=14
Sweet! I won! Thank you so much, Chandoo! I'm really speechless! I'll look out for an e-mail from you. Again, I really appreciate it, and I can't wait to fire it up!
Sincerely,
Tom "this one" 🙂
Thank You... Thank You... Thank You... 🙂
Hi,
Don't want to ruin your party.. 😉 but I noticed that when you sort the list A2:B11 (step 2), the RAND function re-calculates the numbers so that they are different and in mixed order again. I had to paste the whole area as values first and then sort to get it to work.
Wonder if the same happened to you because in your list at least Greg has a higher value than Tom 🙂