Solved

Converting 2003 SUMPRODUCT formulas into 2007 SUMIFS formulas

Posted on 2011-09-16
5
242 Views
Last Modified: 2012-05-12
What would the SUMIFS version of this formula look like?

Thanks,
John
=SUMPRODUCT((AllTails=$C6)*(RoundOpenDates=today)*AllDeferrals*AllAll)

Open in new window

0
Comment
Question by:gabrielPennyback
  • 2
  • 2
5 Comments
 
LVL 7

Expert Comment

by:BusyMama
ID: 36550746
Could you post the spreadsheet?  Much easier that way.  Thanks!
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 36550780
Hello John,

SUMIFS only allows you to sum one range based on conditions in other ranges. Your SUMPRODUCT is multiplying two ranges by each other so SUMIFS can't do that - you might be best advised to stick with SUMPRODUCT.

To use SUMIFS you'd need to have another column, e.g. Products, where you multiply each row of AllDeferrals by ALLALL (I assume they are both column long ranges). then you could use SUMIFS

=SUMIFS(Products,AllTails,$C6,RoundOpenDates,today)

I assume that today is also a named range otherwise you need TODAY()

regards, barry
0
 
LVL 1

Author Comment

by:gabrielPennyback
ID: 36551093
Hi Barry, thanks for posting. I get a 'Name is not valid error.' For what it's worth, here are the ranges defining the names:

AllTails  ='All Incidents'!$F$6:INDEX('All Incidents'!$F:$F,'All Incidents'!$C$1+5,1)
RoundOpenDates  ='All Incidents'!$BK$6:INDEX('All Incidents'!$BK:$BK,'All Incidents'!$C$1+5,1)
AllDeferrals  ='All Incidents'!$Q$6:INDEX('All Incidents'!$Q:$Q,'All Incidents'!$C$1+5,1)
AllAll  ='All Incidents'!$AE$6:INDEX('All Incidents'!$AE:$AE,'All Incidents'!$C$1+5,1)
WkStart  ='All Incidents'!$E$4
today  =ROUNDDOWN(WkStart,0)

[today] is on the sheet with the formulas. The other 5 are on a different sheet.

Thanks,
John
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 36552237
Hello John,

Yes, in the formula I suggested I used a new name Products - in order for that formula to work you will have to create that name additionally. Without seeing your data I can't tell where you have a blank column but if AZ column is blank, for instance, then in that column you could create a product of AllDeferrals and ALLAll by using this formula in AZ6

=Q6*AE6

copied all the way down

then Products needs to be defined in the same way as the other ranges, i.e.

Products  ='All Incidents'!$AZ$6:INDEX('All Incidents'!$AZ:$AZ,'All Incidents'!$C$1+5,1)

Now you can use the formula I suggested above, i.e.

=SUMIFS(Products,AllTails,$C6,RoundOpenDates,today)

If you don't want to use another column or you can't then I suggest you retain the original SUMPRODUCT formula because you can't simply convert that to SUMIFS because of the multiplication within it.

regards, barry

0
 
LVL 1

Author Closing Comment

by:gabrielPennyback
ID: 36913528
Thanks, Barry.

- John
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
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…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

830 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