IFERROR for a multiple selection range

Jrlcb

New Member
Joined
Mar 1, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I’m trying to find the sum of a given range ignoring errors.

The formula I’m using goes like this:
=SUM( IFERROR( (A1,A10,A15,…) ,0) )

Which works with horizontal(A1:B1),vertical (A1:A2) and mixed(A1:B2) ranges. But not with multiple selection ranges.

Is there a way to make this work with a range of non-adjacent cells?
 

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.
Hi & welcome to MrExcel.
How about
Excel Formula:
=AGGREGATE(9,6,(A1:A2,A10,B3:C5))
 
Upvote 1
Solution
You're welcome & thanks for the feedback.
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=AGGREGATE(9,6,(A1:A2,A10,B3:C5))
Hi, not sure if I should make a separate post.
I have a similar problem. Is there a way to do this if the reference itself was the error?
ie:
Excel Formula:
=AGGREGATE(9,6,(A1,A10,B3,#REF!))
 
Upvote 0
Hi & welcome to MrExcel.
I'm not sure what you mean, but it's best to start a new thread & post some sample data using the XL2BB add-in.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,157
Members
453,021
Latest member
Justyna P

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