+ Reply to Thread
Results 1 to 5 of 5

Return Min value in a column between range

  1. #1
    Registered User
    Join Date
    04-27-2017
    Location
    Perth, Australia
    MS-Off Ver
    2016 MSO (16.0.7329.1051) 32-bit
    Posts
    2

    Return Min value in a column between range

    Hi.
    New to this forum so please excuse, and advise of any breach of etiquette.
    I have attached a spreadsheet that describes two related excel formula queries I have. Note that I have reduced the example data set to a workable size as actual spreadsheet is of a much larger and complex size.
    Appreciate your help in advance.
    Regards
    Jack
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-17-2017
    Location
    Mexico
    MS-Off Ver
    2016
    Posts
    48

    Re: Return Min value in a column between range

    Try this I don't know if this is that you want,

    I don't get it....


    Let me know

  3. #3
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Return Min value in a column between range

    Hi -

    I think you need to use the following Array Formula (CSE) to find the minimum pressure and then just INDEX/MATCH to find the corresponding depth. The two formulas look like this:

    =SMALL(IF($B$4:$B$14>=$B$18,IF($B$4:$B$14<=$C$18,$D$4:$D$14,1000000000000),1000000000000),1) You need to press Ctrl-Shift-Enter simultaneously to engage the array functionality.

    =INDEX($B$4:$B$14,MATCH($G$3,D4:D14,0))

    Attached is your workbook with these two formulas in place.

    Hope this helps.
    Attached Files Attached Files
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Return Min value in a column between range

    For min pressure
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    for Depth of Minimum Pressure
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    **Must be entered with Ctrl+Shift+Enter key combination.

    v B C D E F G
    1
    2 TABLE 1
    3 Depth Temp Pressure Minimum Pressure (within interval) 1650
    4 0 0 0 Depth of Minimum Pressure 300
    5 100 2 550
    6 200 4 1100
    7 300 6 1650
    8 400 8 2200
    9 500 10 2750
    10 600 12 3300
    11 700 14 3000
    12 800 16 2050
    13 900 18 1650
    14 1000 20 2000
    15
    16 Depth Interval
    17 Low Bound High Bound
    18 300 800
    Last edited by AlKey; 04-27-2017 at 10:55 AM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,021

    Re: Return Min value in a column between range

    If you change your second formula to

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then it will correctly find 900 when the limits are 800 to 1000.
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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] Need to return a value in column A if column B is is the highest val in the range.
    By Stanimal in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-02-2014, 07:39 PM
  2. [SOLVED] Return column in a range
    By AndrewSit in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-29-2014, 07:43 AM
  3. Return row or column of a cell within a range
    By The Phil in forum Excel General
    Replies: 3
    Last Post: 03-22-2010, 05:03 PM
  4. Replies: 3
    Last Post: 03-04-2010, 01:12 AM
  5. LOOKUP in a range and return 4th column
    By Patchworks in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-15-2009, 10:48 PM
  6. Using VBA how do I return the column number of first column in a user inputted range?
    By NukedWhale in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-19-2009, 06:25 PM
  7. Return last column of dynamic range
    By Jim in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-15-2005, 05:05 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