Stop a =SUM formula returning a #NUM! error when there is no data in the cells the =SUM formula is referencing using =IF, =OR , =ISBLANK

Tenbapps

New Member
Joined
Aug 6, 2011
Messages
19
Office Version
  1. 365
Platform
  1. Windows
Hello all,

I'm trying to stop =SUM(E16:H16)-SMALL(E16:H16,1) from displaying a #NUM! error in cell I17 when there is no data in E16 F17 G17 or H17

I have tried adding =IF(E16:H16=0," ", to the beginning, but that gets me a #NAME? error in I17

This version of the initial formula =IF(E14="","",(SUM(E14+F14+G14+H14)-SMALL(E14+F14+G14+H14,1))) gets me a #VALUE! error in I17

What I would like is for I17 to display nothing when there is no data in E16 F17 G17 or H17, but run the -SMALL formula when there is.

Is this possible, please?

Cheers,

Ben
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
How about
Excel Formula:
=iferror(SUM(E16:H16)-SMALL(E16:H16,1),"")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,440
Messages
6,124,882
Members
449,193
Latest member
PurplePlop

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