[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Converting 2003 SUMPRODUCT formulas into 2007 SUMIFS formulas

Posted on 2011-09-16
5
Medium Priority
?
263 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

873 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