Solved

How do implement SumIfs with criteria in a NamedRange

Posted on 2016-09-05
3
50 Views
Last Modified: 2016-09-06
I am attempting to sum a range, but only if meets criteria based within a named range. Is this possible....In my case I have a named range called produce.  If I find the produce value in the NamedRange, (but only if the value is found in the Named Range from $A$10:$A$15) do I want to sum values.

Range1
Thus for criteria1 I have $A$10:$A$15, but it does not work...

Range2
Thus for criteria2 I have $A$15:$A$20, but it does not work...
0
Comment
Question by:upobDaPlaya
3 Comments
 
LVL 47

Expert Comment

by:Wayne Taylor (webtubbs)
ID: 41785551
Can you try explaining that again? A sample workbook is great for making things clearer.
0
 
LVL 32

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 41785713
From your question it looks like you are using a range of cells for the criteria value.

Syntax for SUMIFS:

=SUMIFS(SumRange,CriteriaRange1,Criteria1,CriteriaRange2,Criteria2)

SumRange - Range to be summed
CriteriaRange 1 - Range containing Criteria1 values
Criteria1 - single cell reference containing single criteria1 value
CriteriaRange 2 - Range containing Criteria2 values
Criteria2 - single cell reference containing single criteria2 value

In addition, the Ranges have to be the same size but not necessarily lined up, for example your 10:15 and 15:20 should work as they are both 6 rows but don't line up.

Hope that helps.
0
 

Author Closing Comment

by:upobDaPlaya
ID: 41787174
Did not realize I have to single out each criteria...thx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 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

14 Experts available now in Live!

Get 1:1 Help Now