Simple sumif question

easybpw

Active Member
Joined
Sep 30, 2003
Messages
433
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
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>
 
Upvote 0
Yes, thanks. I knew it would be as easy as it looks. I appreciate the help.
 
Upvote 0

Forum statistics

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