+ Reply to Thread
Results 1 to 5 of 5

MIN and MAX with Named Ranges

  1. #1
    Registered User
    Join Date
    10-25-2007
    Posts
    5

    MIN and MAX with Named Ranges

    Hello All,

    I'm encountering limitations using the MIN and MAX functions when referring to named ranges. When I refer to a named range using simple sum calculations, the formula considers only the cells in the named range in the same row. However, when I use MIN or MAX functions, the formula looks at all values in the named range, not just those in the same row as the formula.

    This can be confusing to explain in words, so please see the attached file for examples. Is there a way to limit Excel to look at specific rows when using named ranges, specifically regarding MIN and MAX functions?

    Please advise; thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Why don't you just use =MAX(B3,C3) etc?

    It seems logical to me that if you use a formula like MAX(apples,oranges) that you would get the maximum value from the whole range or ranges. This would apply to the SUM formula too if you used =SUM(apples,oranges) or used your original formula confirmed with CTRL+SHIFT+ENTER

  3. #3
    Registered User
    Join Date
    10-25-2007
    Posts
    5
    Hi daddylonglegs,

    The example I provided is just to illustrate my point. My real worksheet is 250+ columns long and lists 100+ rows of data. The keep formulas somewhat comprehensible, I began using named ranges, but I discovered the limitation when MIN and MAX are involved. As a workaround, I ended up reverting back to the original formulas, using cell references rather than named ranges, but I was just wondering if there was a way to specify a row number when using a named range.

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Hi ephilli,

    You could try the somewhat more complex formula:
    Please Login or Register  to view this content.
    These are array formulas, and need to be committed using CTRL+SHIFT+ENTER

  5. #5
    Registered User
    Join Date
    10-25-2007
    Posts
    5
    Hi Pjoaquin,

    Good idea! I'll see if I can incorporate the ROW function to narrow the named range down to a specific row.

    Thanks!

+ Reply to Thread

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