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

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
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,215,559
Messages
6,125,517
Members
449,236
Latest member
Afua

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