Solved

How do implement SumIfs with criteria in a NamedRange

Posted on 2016-09-05
3
71 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 33

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

751 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