# Simple sumif question

#### easybpw

##### Active Member
Hello and thanks in advance for any help offered.

This is a simple sumif problem but for some reason my brain doesn't seem to want to function today.

In words this is what I want to do: if I4:I15>21 then sum I4:I15, then divide that by 7 and then subtract 3. So if it i not greater than 21 I want the result to be -0-.

This should be easy but...

Thanks again!

Bill

### Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Does this work for you?

 =IF(SUM(I4:I15)>21,(SUM(I4:I15)/7)-3,0)

<COLGROUP><COL style="WIDTH: 224pt; mso-width-source: userset; mso-width-alt: 10898" width=298><TBODY>
</TBODY>

Yes, thanks. I knew it would be as easy as it looks. I appreciate the help.

Replies
4
Views
120
Replies
5
Views
231
Replies
4
Views
421
Replies
5
Views
162
Replies
6
Views
170

1,203,100
Messages
6,053,529
Members
444,669
Latest member
Renarian

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