Posted on 2014-01-29
Last Modified: 2014-01-30
Quick question, still learning how to work with sumproduct.  I have the following formula and I would like to add the criteria AS <>Yes how would I do that?

Question by:jmac001
  • 3
  • 2
  • 2
  • +1
LVL 15

Expert Comment

by:David L. Hansen
ID: 39818129
This should be helpful:

Let me know if that is going to work for you or not.
LVL 35

Expert Comment

ID: 39818267

Just add       $AS$10:$AS$484<>"Yes"       as an argument before the final one, like



Author Comment

ID: 39818324
Sl8zr the link was kinda of helpful but returned #value

Matt - Tried your solution and received 0 for my value? The current sum is 225 and with the updated function the new total should be 197.
LVL 15

Expert Comment

by:David L. Hansen
ID: 39818333
Can you post what you tried just now?
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

LVL 35

Assisted Solution

mvidas earned 250 total points
ID: 39818392
Is it possible to post your workbook? I'm a little puzzled by what you're trying to accomplish with your mod statement. If you're only trying to get odd numbers, try:


LVL 50

Accepted Solution

barry houdini earned 250 total points
ID: 39818750
I think the original formula sums every other row starting with the second cell in the range

Matt's last version also does that but the reason for the  ROW(Range)-MIN(ROW(Range)) type construction is that the formula will be more robust, in that it will still return the same value, even if you insert or delete rows above the referenced range.

To retain the original robust intent but add that criteria you can use this version:


Note I replaced AP10 with $AO$10 as that more closely resembles the ideal setup

regards, barry
LVL 35

Expert Comment

ID: 39818813
in that it will still return the same value, even if you insert or delete rows above the referenced range.
Nice catch. I was wondering about that

Author Closing Comment

ID: 39820666
Thanks Barry and Matt, the solution worked.

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now