Sum cells only up to a specific value in each cell

rrmando

Board Regular
Joined
Dec 23, 2004
Messages
212
Hello all. I need to add the range below for all cells (sorry can't get it to show each number under each day), but only up to 8 of each cell. So the total for the range below would be 8+8+8+6+8=38.

For example, Wed =IF(C2>8,8,C2), so 8 is returned for Wednesday. Thur =IF(D2>8,8,D2) returning 6. Aside from using multiple IFs statements, is there a more efficient formula to use? Thank you.

Monday Tuesday Wednesday Thursday Friday
8 8 10 6 11
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Hello all. I need to add the range below for all cells (sorry can't get it to show each number under each day), but only up to 8 of each cell. So the total for the range below would be 8+8+8+6+8=38.

For example, Wed =IF(C2>8,8,C2), so 8 is returned for Wednesday. Thur =IF(D2>8,8,D2) returning 6. Aside from using multiple IFs statements, is there a more efficient formula to use? Thank you.

Monday Tuesday Wednesday Thursday Friday
8 8 10 6 11
Try this...

Assuming the numbers are in the range A2:E2.

Array entered**:

=SUM(IF(A2:E2>=8,8,A2:E2))

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
 
Upvote 0

Forum statistics

Threads
1,222,046
Messages
6,163,588
Members
451,846
Latest member
ajk99

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