Solved

SumIfs Function - Simple Question (I think!)

Posted on 2014-01-28
4
198 Views
Last Modified: 2014-01-28
The following syntax is accepted;

=SUMIFS(T2,Q2,"="&4040,C2,"="&1)

However, when I multiply the C2 by 12, I get an error.  Why?

=SUMIFS(T2,Q2,"="&4040,C2*12,"="&1)
0
Comment
Question by:Patrick O'Dea
  • 2
4 Comments
 
LVL 39

Accepted Solution

by:
nutsch earned 250 total points
ID: 39816552
Because C2*12 is not a range, which is the expected parameter type.

Try

=SUMIFS(T2,Q2,4040,C2,1/12)

Thomas
0
 
LVL 50

Assisted Solution

by:barry houdini
barry houdini earned 250 total points
ID: 39816555
You can't modify the ranges in any way in SUMIFS so C2*12 isn't valid. If C2*12 should = 1 then wouldn't C2 = 1/12? In which case this version should work

=SUMIFS(T2,Q2,"="&4040,C2,1/12)

although you wouldn't normally need SUMIFS for single cell ranges - are those really your ranges? if so then this should be sufficient

=IF(AND(Q2=4040,C2*12=1),T2,0)

regards, barry
0
 
LVL 39

Expert Comment

by:nutsch
ID: 39816557
I was trying to edit my comment to basically say the same thing as barry. Why SUMIFS indeed?

The IF option is an alternative, as is the following:

=(Q2=4040)*(C2/12=1)*T2

Thomas
0
 

Author Closing Comment

by:Patrick O'Dea
ID: 39816560
Thanks folks,

I see the obvious error now- it's late here .... maybe I'm tired!
0

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 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;…
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…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

747 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

10 Experts available now in Live!

Get 1:1 Help Now