# help needed: sumif isn't adding all the columns in a range

#### jjf

##### New Member
My Excel formula seems to be only adding the first column in a range. How can I get it to add all the columns in the range? Here is the formula I have tried to use =SUMIF(A3:A62,">99.99","C3:G62"). I want this formula to add all the numbers in C3-C62….G3-G62, if the number in A3:62 is 100 or greater.)
Each column represents a class period and each row represents a student's grade. I would like to know how many students from each class got a 100% on their test.
Follow-up question: What formula would I use to do this for multiple columns/rows and still get only one total?
Any help would be greatly appreciated!

### Excel Facts

If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
jjf, Welcome! Here's how I see it:
Book1
ABCDEF
2Period1Period2Period3>=100
310012318
489123
590123
6100123
7101123
Sheet1

&gt is supposed to be ">"

SumIf requires the same number of condition ranges and ranges to sum. That said, try...

=SUM(IF(A3:A62>99.99,C3:G62))

which must be confirmed with control+shift+enter, not just with enter.

The control+shift+enter worked!
Thanks so much!

Replies
14
Views
541
Replies
4
Views
146
Replies
6
Views
620
Replies
9
Views
408
Replies
9
Views
220

1,218,899
Messages
6,145,094
Members
450,590
Latest member
Naneng

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

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