(solved)Need help with formulat :IF(condition),Average(if...

zeriab

New Member
Joined
Aug 24, 2006
Messages
18
Hi All,

Trying to calculate the AgeAvg of pending order for specific planner (cellsA5). the result given is #N/A.

Pls help

=IF(C5>0,AVERAGE(IF('#'!$BE$2:$BE$3179="Pending",IF('#'!$M$2:$M$3112=A5,'#'!$BC$2:$BC$3179))),"--")


Regards

Zeriab
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi Zeriab

In an array formula all arrays must have the same size, or else at some point there are values not available (#N/A).

In your case 2 of the arrays go from row 2 to row 3179, and the third goes from row 2 to row 3112. This is not possible.

for example:

=IF(C5>0,AVERAGE(IF('#'!$BE$2:$BE$3179="Pending",IF('#'!$M$2:$M$3179=A5,'#'!$BC$2:$BC$3179))),"--")

Hope this helps
PGC
 
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,306
Members
449,079
Latest member
juggernaut24

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