Solved

How to write sumifs function in Office XP

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
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…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

615 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