[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Modify sumproduct

Posted on 2011-03-04
5
Medium Priority
?
245 Views
Last Modified: 2012-06-21
This works fine:
=SUMPRODUCT((F12:F21>=C8)*(F12:F21<F8)*(G12:G21))
However, I need help in doing this:
If H12:H21 the value = N then do not add to this =SUMPRODUCT((F12:F21>=C8)*(F12:F21<F8)*(G12:G21))
0
Comment
Question by:Frank Freese
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:McOz
ID: 35038355
Use the formula:

=SUMPRODUCT((F12:F21>=C8)*(F12:F21<F8)*(G12:G21)*(H12:H21<>N))

Cheers
0
 
LVL 9

Accepted Solution

by:
McOz earned 2000 total points
ID: 35038371
Oops! I should have said, use this:

=SUMPRODUCT((F12:F21>=C8)*(F12:F21<F8)*(G12:G21)*(H12:H21<>"N"))

(with the value in quotes)

-Oz
0
 

Author Comment

by:Frank Freese
ID: 35038457
I got a return "False"
0
 

Author Comment

by:Frank Freese
ID: 35038467
woops - my mistake - it look  goodv thanks
0
 

Author Closing Comment

by:Frank Freese
ID: 35038470
thank you
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

834 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