Help with Sumif Excel Formula

I have the following sumif formula I am using

=SUMIF(Data!O:O, "Civilian", Data!K:K)
 
Now I need to include another check along with the check for Civilian in O I also need to check for 2015 in J
Matt PinkstonEnterprise ArchitectAsked:
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.

Rgonzo1971Commented:
Hi,

pls try with XL 2007 or higher

=SUMIFS( Data!K:K,Data!O:O,"Civilian",Data!J:J,2015)


Regards
0
johnb25Commented:
What version of Excel do you have/
Have you got the SUMIFS formula; allows you to enter multiple criteria.


John
0
Steven HarrisPresidentCommented:
SUMIFS for Multiple Criteria:

SUMIFS(SumRange, CriteriaRange1, Criteria1, CriteriaRange2, Criteria2,...)

=SUMIFS(Data!K:K, Data!O:O, "Civilian", Data!J:J, "2015")

(should have refreshed as Rgonzo covered it...)
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.

Start your 7-day free trial
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Rgonzo1971Commented:
whitout XL 2007 or higher

pls use

=SUMPRODUCT(Data!K:K*(Data!J:J=2015)*(Data!O:O="Civilian"))

Regards
0
Rgonzo1971Commented:
Hi,

Could you explain why have you chosen the version of Steven Harris over mine?

Many thanks
0
Steven HarrisPresidentCommented:
Just a guess, but the addition of the explanation of SUMIFS?

Either way, I am not in a points race so these can redistributed as necessary.
0
Rgonzo1971Commented:
@ Harris
It is not for the points I just what to know what I've overlooked ( if anything)
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.