+ Reply to Thread
Results 1 to 3 of 3

Maximum in a Range by Customer Identifier

  1. #1
    Registered User
    Join Date
    03-17-2017
    Location
    California - US
    MS-Off Ver
    MS 2010
    Posts
    27

    Maximum in a Range by Customer Identifier

    Hello all,

    I'm a little stumped on a problem I am working with and hoping someone can help. It's essentially a simple VLOOKUP procedure but looking for the maximum match as opposed to the first available match. I've attached a sample spreadsheet because I'm sure I didn't describe it very well.

    Looking for a formula if possible - not VBA or the use of a pivot table.

    Thanks!
    Scott
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Maximum in a Range by Customer Identifier

    Your formula would have worked if column C was sorted in ascending order (i.e. if 0 and 2 were switched).

    Try

    =MAX(IF(B$3:B$10=F3,C$3:C$10)) Ctrl Shift Enter
    Last edited by 63falcondude; 06-26-2017 at 01:02 PM.

  3. #3
    Forum Contributor
    Join Date
    07-28-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    104

    Re: Maximum in a Range by Customer Identifier

    If you do not want an array formula, there is the other option of database functions, but they are rather cumbersome. They require additional space to define constraints.

    Attached is the same spreadsheet calculating the maximums using database functions.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Lookup unique identifier to see if dates fall within a range
    By avs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-23-2016, 05:25 PM
  2. [SOLVED] Sum selected values in matrix based on date range as well as unique identifier in row
    By smansyd in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-09-2014, 07:56 PM
  3. Replies: 2
    Last Post: 12-07-2013, 02:34 AM
  4. How to search for a value within a range and return a corresponding text identifier
    By CA_needing_help in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-20-2013, 10:16 PM
  5. Replies: 0
    Last Post: 10-25-2012, 09:52 AM
  6. Replies: 11
    Last Post: 10-25-2012, 12:26 AM
  7. Replies: 1
    Last Post: 06-24-2008, 03:44 PM

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