I need a help writing a formula that sums column C1:C3000 if Column A = Dental Care and in the same row Column B = Spouse. How do I do that?
Thanks,
Teresa
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
The new function, which became available in Excel 2007, is SUMIFS. It is like SumIf, but with multiple Conditions available.
It actually has a couple of advantages over SumProduct:
[ul][li]It can accept whole column references (No more A2:A65536)[/li]
[li]It doesn't break on mixed data types, like including a text header in a column of numbers[/li][/ul]
In your case, it would look like this:
[tab][COLOR=blue white]=SumIfs(C:C, A:A, "DENTAL CARE", B:B, "SPOUSE")[/color]
(Note: It is case-independent)
[tt][blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]
Help us help you. Please read FAQ 181-2886 before posting.
Thanks John - knew it existed but my usage of 2007/2010 is limited at the mo
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
There is a Conditional Sum Wizard in Excel under the Tools menu (You may have to download it from MS). You can have multiple conditions.It steps you thru the process and creates the formula for you.
This is what it created.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.