I have a sum product where I need to divide, so one of the inputs is 1/AL:AL
. The problem is that some of those cells are 0. I have tried 1/if(AL:AL=0,1,AL:AL)
and iferror(1/AL:AL,1)
but both still return #DIV/0!
. Here is my actual formula:
=SUMPRODUCT('Data'!$I:$I,'Data'!$AV:$AV,**1/'Data'!$AL:$AL**)
Your formula with
IFERROR(1/AL:AL,1)
should work if you enter it as an array formula, with the cursor in the formula bar, pressCTRL+SHIFT+ENTER
.