It works for me.
for min:
=MIN(IF(($A$1:$A$50=D1),($B$1:$B$50)))
for max:
=MAX(IF(($A$1:$A$50=D1),($B$1:$B$50)))
Note, that it is an array formulas, so you need to press CTRL+SHIFT+ENTER
More Related Contents:
- Excel VBA – How to add dynamic array formula
- Difference between date and time w/out work week Excel
- Combine 2 Excel tables into one appending the data?
- Compare double in VBA precision problem
- Row count on the Filtered data
- Excel VBA Macro: User Defined Type Not Defined
- Automate IE via Excel to fill in a dropdown and continue
- Run-Time error 1004 Excel 2013
- VBA – Write all possible combinations of 4 columns of data [duplicate]
- Excel VBA to Export Selected Sheets to PDF
- Remove duplicates from array using VBA
- Controlling Internet Explorer local intranet using Excel VBA
- Count Unique values with a condition
- How to automatically insert a blank row after a group of data
- Get File Path (ends with folder)
- Get length of array?
- Email a single attachment from folder of files each to a different person
- Bad data selection using VBScript , on date field values
- How to list all possible combinations of the values in three columns in excel?
- Sending object array to variant works before August 2019 Windows update, but fails after update
- Find last row in range
- Differences between Excel’s Form Controls & ActiveX Controls
- Excel VBA User Defined Function that counts cells with conditional formatting
- MS Excel – Concat with a delimiter
- Excel is calculating a formula with a VBA function as an error unless it is re-entered
- Delay macro to allow events to finish
- Export multiple sheets to PDF simultaneously without using ActiveSheet or Select
- declaring a unicode string in vba in excel [duplicate]
- Delete all data rows from an Excel table (apart from the first)
- Excel VBA Run-time Error ‘32809’ – Trying to Understand it