I have table excel something like this :
Need to calculate average charge per year and using :
=SUMPRODUCT(--(WJ[Ownership]="Lease"),IFERROR(WJ[Total Charge]/DATEDIF(WJ[lease start],WJ[Lease end],"y"),""))/SUMPRODUCT(--(WJ[Ownership]="Lease"))
the formula is good when using ctrl + alt + enter, can any body help me to for alternative formula without Ctrl + shift + Enter and without iferror formula (the data contain some #DIV/0!)
