Solved

How to write sumifs function in Office XP

Posted on 2012-03-14
2
651 Views
Last Modified: 2012-08-14
Dear all experts,

I'm using Office 2010 and I know there is a function called sumifs which is used to for calculation, however my company is using Office XP and wonder is there any similar thing of it?  Or, is there any VBA code that can serves similar thing?

Thanks in advance,
0
Comment
Question by:towo2002
2 Comments
 
LVL 13

Assisted Solution

by:Shanan212
Shanan212 earned 150 total points
ID: 37720300
You can use SUMPRODUCT formula. If you can provide an example, I can show.

http://office.microsoft.com/en-us/excel-help/sumproduct-HP005209293.aspx
0
 
LVL 41

Accepted Solution

by:
dlmille earned 150 total points
ID: 37721409
Here's a practical example:

=SUMIFS(sum_range,criteria_range1,criteria1,criteria_range2,criteria2,criteria_range3,criteria)

The equivalent SUMPRODUCT would be:

=SUMPRODUCT((sum_range)*(criteria_range1=criteria1)*(criteria_range2=criteria_range2)*(criteria_range3=criteria3))

As with SUMIFS, you can keep adding criteria comparisons with SUMPRODUCT as well.

Cheers,

Dave
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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
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…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

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

15 Experts available now in Live!

Get 1:1 Help Now