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

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,225,361
Messages
6,184,510
Members
453,237
Latest member
lordleo

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