SUMPRODUCT using IFERROR

CR2515

New Member
Joined
Sep 3, 2017
Messages
14
can someone walk me through a very basic example using sumproduct with iferror?

In the attached I get a N/A error in J13. What I'm trying to to do is sumproduct but in when column H has an error is replaces the field with a 0.

Thanks for the help.

lahtiaD.png
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
I think you would be better of adding IFERROR formulas to the formulas in cells G2:H9 then to include it in the SUMPRODUCT formula.
 
Upvote 0
Is there a formula in your cost column that's producing the #N/A. If so, I would take care of the #N/A in that formula.
Something like (I'm assuming the cost column is H):

IF(ISNA(H2),0,what ever formula is in the cost column)

Your formula should work, but it needs to be entered as an array formula with CTRL-SHIFT-ENTER.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
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