10 replies
by g...
Your () are set wrong:
=SUMIF(((Salary!G9:G62,62008)AND(Salary!J9:J62,40102)),Salary!Y9:Y62)
I think....
by ipctrain
by bschaettle
In Excel, AND is a worksheet function, not an operator, so your syntax isn't correct. Try this:
=SUMIF(AND((Salary!G9:G62,62008),
(Salary!J9:J62,40102)),Salary!Y9:Y62)
by bschaettle
by ipctrain
by chitosunday
or you can use sumproduct
=sumproduct(Salary!G9:G62=62008)*
(Salary!J9:J62=40102)*(Salary!Y9:Y62))
by ipctrain
by aidanmatt
Hi, as far as I know, if you need to have multiple-conditions-satisfied SUM, use Array formula in Excel. Here is my solution to your conditions:
=SUM(IF(Salary!G9:G62=62008,if(Salary!J9:J62=40102,Salary!Y9:Y62)))
Hope this was useful.
Very important - do NOT use Enter key after typing/pasting this formula instead use Control+Enter combinatinon (this would put curly braces on both the ends of the formula, but won't work if you put them manually).
by ipctrain
by ipctrain
This discussion is closed to new replies.
Trending Software posts
Sort by Trending