Add Column Values If Other Columns Match Criteria

gmercer82

New Member
Joined
May 14, 2012
Messages
37
I am trying to add the numbers in Column J only if they match certain criteria in Columns C, E, G.

I found a formula on a page and edited it to match the cells I would like, but I just get a #VALUE error.

I have a sheet that has 10,000 rows in it and I want to add all the numbers in column J that match certain criteria in other columns.

The formula I created was:

=SUM(IF($C$2:$C$17=8/1/2012,IF($E$2:$E$17="North",if($G:$G="Phone",$J$2:$J$17,0),0))

I plan on changing the "8/1/2012" to a cell that has the date entered. I am using Excel 2003. I would like to have this eventually used for an average formula but for now if I can get the sum of J added I am happy with that.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
I am trying to add the numbers in Column J only if they match certain criteria in Columns C, E, G.

I found a formula on a page and edited it to match the cells I would like, but I just get a #VALUE error.

I have a sheet that has 10,000 rows in it and I want to add all the numbers in column J that match certain criteria in other columns.

The formula I created was:

=SUM(IF($C$2:$C$17=8/1/2012,IF($E$2:$E$17="North",if($G:$G="Phone",$J$2:$J$17,0),0))

I plan on changing the "8/1/2012" to a cell that has the date entered. I am using Excel 2003. I would like to have this eventually used for an average formula but for now if I can get the sum of J added I am happy with that.

=SUM(IF($C$2:$C$17=--"8/1/2012",IF($E$2:$E$17="North",if($G2:$G17="Phone",$J$2:$J$17,0),0))

press Ctrl+Shift+Enter, not just enter
 
Upvote 0

Forum statistics

Threads
1,215,411
Messages
6,124,759
Members
449,187
Latest member
hermansoa

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