SUM/SUMIF - cutoff value

MGhell

Board Regular
Joined
Jan 16, 2006
Messages
85
Hi,

is it possible to create a formula which creates a sum of a range(A1:E1) but values > 8 are cutoff?

Example:

A1= 8,5
B1 = 10
C1 = 8
D1 = 7
E1 = 0

SUM should be 8+8+8+7+0

Cheers

Max
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Try


Excel 2010
ABCDE
18.510870
2
331
Sheet5
Cell Formulas
RangeFormula
A3{=SUM(IF(A1:E1>8,8,A1:E1))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Try this array formula entered with CTRL + SHIFT + ENTER
=SUM(IF(A1:E1>8,8,A1:E1))
 
Upvote 0
Try this and confirm with just Enter

=SUMIF(A1:E1,"<9",A1:E1)
 
Upvote 0
You're welcome.

For a non array version, maybe
=SUMIF(A1:E1,"<=8")+COUNTIF(A1:E1,">8)*8
 
Upvote 0

Forum statistics

Threads
1,215,398
Messages
6,124,699
Members
449,180
Latest member
craigus51286

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