Solved

Modify sumproduct

Posted on 2011-03-04
5
230 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 500 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 run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
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 Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

762 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

19 Experts available now in Live!

Get 1:1 Help Now