Excel 2010

My line of thinking was just like yours, #NAME? - I thought MAX/MIN IF(S) would be par for the course in XL 2010, but no joy.

I think the AGGREGATE function will be handy. It essentially seems to perform the task of several existing functions (MAX, MIN, AVERAGE etc... you choose which one) with the additional option of ingnoring particular types, hidden rows, etc...

A brief synopsis from the helpfile:

It has two syntax forms:
AGGREGATE(function_num, options, ref1, [ref2],...)
AGGREGATE(function_num, options, array, [k])
Some of the more common function_num available are:
1 AVERAGE
2 COUNT
3 COUNTA
4 MAX
5 MIN
9 SUM
14 LARGE
15 SMALL
(the complete set is 1 to 19).

The Options numbers available include:
4 Ignore nothing
5 Ignore hidden rows
6 Ignore error values
(the complete set is 1 to 7).


So a simple example:
Range A1:A4 contains 1;[blank];#N/A;3

To get the MAX of 3, one could use:
Code:
=AGGREGATE(4,6,A1:A4)
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,222,642
Messages
6,167,267
Members
452,108
Latest member
Sabat01

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