# Array with Average & Min

#### maheshmaxi

##### Active Member
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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
For average if you could use:

=SUMIF(L31:L53,"=Arvind",O31:O53)/COUNTIF(L31:L53,"=Arvind")

Last edited:
Here's one that will return the minimum

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

Replies
3
Views
3K
Replies
4
Views
336
Replies
7
Views
3K
Replies
1
Views
242
Replies
6
Views
270

1,203,249
Messages
6,054,378
Members
444,721
Latest member
BAFRA77

### 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.

### Which adblocker are you using?

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

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