Results 1 to 14 of 14

MaxIf without using an array formula

Threaded View

  1. #1
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    MaxIf without using an array formula

    On this forum (and elsewhere) I had only seen MaxIf when using an array formula:
    =Max(If(CriteriaColumn=Criteria,Values,0)) entered with Ctrl+Shift+Enter

    I basically stumbled on a way to get a maxif formula to work without array-entering it, by using Index:
    =Max(Index((CriteriaColumn=Criteria)*Values,))

    It returns the desired results; a maximum by criteria. Attached is an example workbook showing it in action.
    Attached Files Attached Files
    Last edited by tigeravatar; 03-02-2012 at 07:31 PM.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1