+ Reply to Thread
Results 1 to 7 of 7

Lookup maximum corresponding value based on range of reference values

  1. #1
    Registered User
    Join Date
    11-06-2016
    Location
    Manchester
    MS-Off Ver
    2010
    Posts
    9

    Lookup maximum corresponding value based on range of reference values

    Hi,

    can anyone please advise what function to use to find maximum value from the column BA corresponding to the range of values in the column AZ (50 - 150) related to the selection from drop down menu in the column AV (100)?

    For any value X selected in drop down menu, values in the column AZ will be ranging from X-50 to X+50. The corresponding maximum from column BA is required.

    Thanks


    Capture1.PNG
    Attached Files Attached Files
    Last edited by wlade122; 11-06-2016 at 05:28 PM.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Lookup maximum corresponding value based on range of reference values

    Many members are unable to see images in the *.png format due to forum compatibility issues with some browsers.

    If you need to post an image post it in the *.jpg format.

    Even better than posting images... post a SMALL sample file. That way we can test solutions directly in the file with the relevant data.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: Lookup maximum corresponding value based on range of reference values

    Try

    =VLOOKUP($AV$10,$AZ$1:$BA$20,2,0)

    ???

  4. #4
    Registered User
    Join Date
    11-06-2016
    Location
    Manchester
    MS-Off Ver
    2010
    Posts
    9

    Re: Lookup maximum corresponding value based on range of reference values

    This one unfortunately only finds value corresponding to the selection. For the given range of values from 100-50=50 to 100+50=150 the maximum should be 0.8

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: Lookup maximum corresponding value based on range of reference values

    Try

    =MAX(IF(($AZ$8:$AZ$49>=AV20-50)*($AZ$8:$AZ$49<=AV20+50),$BA$8:$BA$49))

    Enter with Ctrl+Shift+Enter

    (Mis-read your post!)

  6. #6
    Registered User
    Join Date
    11-06-2016
    Location
    Manchester
    MS-Off Ver
    2010
    Posts
    9

    Re: Lookup maximum corresponding value based on range of reference values

    Many thanks, it works perfect.

    What is the significance of Ctrl+Shift+Enter in general?

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: Lookup maximum corresponding value based on range of reference values


+ 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. [SOLVED] flag out of range values based on set of criteria and reference range
    By Excel_learner in forum Excel General
    Replies: 8
    Last Post: 04-19-2016, 01:51 PM
  2. [SOLVED] Sum Same Number of Values Across a Range based on a Reference Point
    By hamidxa in forum Excel General
    Replies: 3
    Last Post: 02-11-2015, 10:47 AM
  3. Return reference to second or third of identical maximum values
    By excessi0n in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-25-2014, 12:56 AM
  4. Lookup Cells and Return Reference based on 2 values, from different sheets
    By Samantha_O in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-28-2013, 07:18 AM
  5. Replies: 10
    Last Post: 02-19-2013, 12:05 PM
  6. How to lookup values between a delimiter and replace based on range?
    By cda in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-06-2011, 04:34 PM
  7. [SOLVED] find maximum of two values in an array with same lookup value
    By Andy M in forum Excel General
    Replies: 5
    Last Post: 05-13-2005, 01:06 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