Array with Average & Min

maheshmaxi

Active Member
Joined
Dec 16, 2008
Messages
252
Hi,

I tried to use array with Average, Min & Max formulas. But only 'Max' works, others do not. Below are my attempts. Can anyone help me achieving results for other two functions or in any alternative ways...

{=AVERAGE(IF(L31:L53="Arvind",O31:O53,0))} -- Did not give correct output (wrong result)
{=MIN(IF(L31:L53="Arvind",O31:O53,0))} -- Not working (result=0)
{=MAX(IF(L31:L53="Arvind",O31:O53,0))} -- Working
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
For average if you could use:

=SUMIF(L31:L53,"=Arvind",O31:O53)/COUNTIF(L31:L53,"=Arvind")
 
Last edited:
Upvote 0
Here's one that will return the minimum

=MIN(IF(L31:L35="Arvind",IF(O31:O35<>"",O31:O35)))
 
Upvote 0

Forum statistics

Threads
1,224,893
Messages
6,181,616
Members
453,057
Latest member
LE102024

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