# Desperately Seeking SUMIF

#### jdmill80

##### New Member
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

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
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)

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

THANK YOU!!!

Correction on the formula,

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

Replies
0
Views
418
Replies
4
Views
181
Replies
8
Views
319
Replies
3
Views
410
Replies
1
Views
1K

1,196,358
Messages
6,014,795
Members
441,847
Latest member
hw407

### 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.

### Which adblocker are you using?

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

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