# Question

Hello All,

When I am looking at multiple criteria, sumproduct works great - -sumifs might as well?
to look at multiple criteria?

is one better than the other ? please explain?

Rayne
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:
SUMPRODUCT adds the product of two columns or rows, whereas SUMIFS adds values where the multiple criteria (the IFS) are met. With SUMPRODUCT, the multiple criteria are the values to be multiplied before their products are added. With SUMIFS, the multiple criteria are the conditions which must be met in order for a value to be included in the sum.
0
Author Commented:
whats the difference  - its all the same?
0
Author Commented:
can you give an example where using one might be logical than the other? situation wise....
0
Commented:
SUMPRODUCT (A1:A2,B1:B2)

7 5 = 35
4 8 = 32
The total 67 would be returned

You might use this to calculate hours x rate to add up how much to charge for a job.

SUMIFS (A1:A6,">100","<500")

73
108
622
440
136
503

The result = 684, the sum of numbers which are more than 100 and less than 500
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Author Commented:
0
Commented:
The structure of SUMIFS I have used is not quite right - It should be in the form

SUMIFS(RangeToSUM,CriteriaRange1,Criteria1, CriteriaRange2, Criteria2)

You have to specify the criteria and then what the criteria value must be, e.g. SUMIFS(A1:A17,B1:B17,"Fred",C1:C17,"<500") for adding values in column A where Fred is in column B and the amount in column C is less than 500.
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.