Seamus2626
asked on
Average IF
Hi,
Im getting a #DIV/0 on the below formula
=AVERAGEIFS(WinLoss!R:R,Wi nLoss!BC:B C,"Yes",Wi nLoss!BA:B A,"Yes",Wi nLoss!F:F, "<>Renew", WinLoss!W: W,"Lost",W inLoss!W:W ,"Cancelle d")
Can anyone see why?
Thanks
Im getting a #DIV/0 on the below formula
=AVERAGEIFS(WinLoss!R:R,Wi
Can anyone see why?
Thanks
WinLoss!W:W,"Lost",WinLoss !W:W,"Canc elled"
Those last two can't both be true at once.
Those last two can't both be true at once.
ASKER
They can be true, in terms of the data, we can have cancelled and lost, which is what im looking for, must the structure of the IF change?
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I get it now!
Out of interest, why cant entire column reference be used?
Out of interest, why cant entire column reference be used?
Because it will make the formula calculate really slowly.
BTW, you could also use:
=SUM(SUMIFS(WinLoss!R:R,Wi nLoss!BC:B C,"Yes",Wi nLoss!BA:B A,"Yes",Wi nLoss!F:F, "<>Renew", WinLoss!W: W,{"Lost", "Cancelled "}))/SUM(C OUNTIFS(Wi nLoss!BC:B C,"Yes",Wi nLoss!BA:B A,"Yes",Wi nLoss!F:F, "<>Renew", WinLoss!W: W,{"Lost", "Cancelled "}))
=SUM(SUMIFS(WinLoss!R:R,Wi
ASKER
That all makes sense, thanks Rory!
have you tested what the Help says
If average_range is a blank or text value, AVERAGEIFS returns the #DIV0! error value.
If cells in average_range cannot be translated into numbers, AVERAGEIFS returns the #DIV0! error value.
If there are no cells that meet all the criteria, AVERAGEIFS returns the #DIV/0! error value.
Regards