+ Reply to Thread
Results 1 to 5 of 5

Max and Minimum value for the given 2 columns

  1. #1
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Max and Minimum value for the given 2 columns

    Hello Friends

    Please help me to extract the maximum and minimum values from Columns B:D based on the input from cells G3:H4 and need to plot the reslt by formula in light yellow cells I3:J4.

    Thanks in advance
    Sekar

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.83 for Mac MS 365
    Posts
    8,480

    Re: Max and Minimum value for the given 2 columns

    could you explain how the max of AAA and BBB is 5 and the min is 25? It appears to me that the min of AAA and BBB is 5 and the max is 25.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.83 for Mac MS 365
    Posts
    8,480

    Re: Max and Minimum value for the given 2 columns

    I don't understand your min and max answers in your sheet and you haven't answered, however, I will give you these two array formulas that work (provided your max for AAA / BBB is really 25 and your min for the same is really 5 (ditto for CCC / DDD which appear to be reversed).
    for max =MAX(IF(($B$3:$B$14=$G3)*($C$3:$C$14=$H3),$D$3:$D$14)) dragged down and for the min... =MIN(IF(($B$3:$B$14=$G3)*($C$3:$C$14=$H3),$D$3:$D$14)) dragged down, AGAIN, both are array formulas so they will only work when you click inside the formula and hit ctrl/shift/enter at the same time so the { } appear around both ends - you cannot enter them by hand.

  4. #4
    Forum Contributor
    Join Date
    10-30-2003
    Location
    Singapore
    MS-Off Ver
    Excel 2019
    Posts
    197

    Re: Max and Minimum value for the given 2 columns

    In I3 copied right to J3 and all down :

    =AGGREGATE(14+(I$2="Min"),6,$D$3:$D$24/($B$3:$B$24=$G3)/($C$3:$C$24=$H3),1)

    Regards
    Bosco

  5. #5
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Max and Minimum value for the given 2 columns

    Thanks for all your formulas working well, i will use Bosco formula.

    Thanks again

+ 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] automatically extend columns while keeping a minimum width on specific columns
    By enhydra in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-15-2017, 10:13 PM
  2. Replies: 3
    Last Post: 05-29-2014, 01:25 PM
  3. How to compare columns to get minimum value
    By etrader in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-14-2014, 04:28 PM
  4. [SOLVED] Find the minimum value from a range in multiple columns
    By newbi004 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-14-2013, 12:13 PM
  5. Summing the minimum of two columns
    By mccarthyje in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-24-2012, 03:12 PM
  6. How to put the minimum number of 2 columns.
    By shules in forum Excel General
    Replies: 5
    Last Post: 10-19-2010, 11:51 AM
  7. [SOLVED] minimum from various columns without zeroes
    By joie in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-29-2005, 01:55 AM

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