Solved

How to write sumifs function in Office XP

Posted on 2012-03-14
2
660 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
[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
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 42

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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 …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

734 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