Solved

How to write sumifs function in Office XP

Posted on 2012-03-14
2
649 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

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;…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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.
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…

758 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

21 Experts available now in Live!

Get 1:1 Help Now