Desperately Seeking SUMIF

jdmill80

New Member
Joined
Dec 2, 2005
Messages
7
Hi Everyone,

I'm new here but thought this would be just the place to get this question answered since my coworkers have been stumped!

I'm trying to do a SUMIF with 2 criteria. Here's an example:

I have 3 columns.

Column A includes one of two years, 2005 & 2006.
Column B includes one of two Names, **** & Jane.
Column C includes random numbers.

How can I say, sum column C if column A equals "2005" AND column B equals "Jane"?

Thanks SOOOOO much gang. I will definitely pass this favor forward if this can be solved.

Thanks!
Jon [/u]
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
have 3 columns.

Column A includes one of two years, 2005 & 2006.
Column B includes one of two Names, **** & Jane.
Column C includes random numbers.

How can I say, sum column C if column A equals "2005" AND column B equals "Jane"?

That's our buddy SUMPRODUCT

=SUMPRODUCT(--($A$2:$A$100=2005),--($B$2:$B$100="Jane"),$C$2:$C$100)
 
Upvote 0
jdmill80 said:
Hi Everyone,

I'm new here but thought this would be just the place to get this question answered since my coworkers have been stumped!

I'm trying to do a SUMIF with 2 criteria. Here's an example:

I have 3 columns.

Column A includes one of two years, 2005 & 2006.
Column B includes one of two Names, **** & Jane.
Column C includes random numbers.

How can I say, sum column C if column A equals "2005" AND column B equals "Jane"?

Thanks SOOOOO much gang. I will definitely pass this favor forward if this can be solved.

Thanks!
Jon [/u]

If you don't have true date values in column A but merely 2005 & 2006

=SUMPRODUCT(--(A2:A100=2005),--(B2:B100="Jane"),C2:C100)

Edit,

Correcting the formula
 
Upvote 0

Forum statistics

Threads
1,225,563
Messages
6,185,703
Members
453,315
Latest member
funktgf

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top