Excel Puzzler: MAXIF Without Using an Array Function | AccountingWEB

Excel Puzzler: MAXIF Without Using an Array Function

Recently I lamented that Excel has functions like SUMIF, COUNTIF, and AVERAGEIF, but that it didn’t have the equivalent of a MAXIF function. I then described a valid technique that involves using an array function that can perform like a MAXIF function would.  In doing so, I overlooked a built-in worksheet function that also works like MAXIF, and so that probably explains why Excel doesn’t have such a function.

This was brought to my attention by reader Rob Brebbia, who read the first paragraph or so of my MAXIF article and took it as a challenge to see if he could figure out the solution on his own. In doing so, he uncovered a function that has become lost in my Excel memory—and his as well. Based on his successful research exercise, Rob suggested we pay homage to NPR’s Car Talk show and have a periodic Excel puzzler.

Rob’s timing is excellent, as we’ve recently unveiled the AccountingWEB forums—an area where you can ask a question about pretty much anything about accounting or Excel. Although this feature is just getting off the ground, you should be able to count on a response from either the AccountingWEB staff (that’s me if you ask an Excel question), or other readers as well. To wit, I’ve started a thread on performing MAXIF without an array function. We’ll hold all comments in moderation for a week, so that everyone has a fair shot at the puzzler, and then I’ll reveal Rob’s clever alternative to my suggestion.  Do keep in mind that you must log into the AccountingWEB site to post a response to this puzzler, or ask a question of your own. Registration is simple and free!

Wait, there's more!
There's always more at AccountingWEB. We're an active community of financial professionals and journalists who strive to bring you valuable content every day. If you'd like, let us know your interests and we'll send you a few articles every week either in taxation, practice excellence, or just our most popular stories from that week. It's free to sign up and to be a part of our community.
Premium content is currently locked

Editor's Choice

WHAT KIND OF FIRM ARE YOU?
As part of our continued effort to provide valuable resources and insight to our subscribers, we're conducting this brief survey to learn more about your personal experiences in the accounting profession. We will be giving away five $50 Amazon gift cards, and a $250 Amazon gift card to one lucky participant.
This is strictly for internal use and data will not be sold
or shared with any third parties.