+ Reply to Thread
Results 1 to 13 of 13

Min & Max

  1. #1
    Registered User
    Join Date
    06-01-2018
    Location
    Hong Kong
    MS-Off Ver
    2019
    Posts
    20

    Min & Max

    Hello!

    I want a formula to find Min & Max for a certain criteria

    Sample excel is attach




    Thanks in Advance
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Min & Max

    For start, put this on J2 and copied down:
    =IFERROR(VLOOKUP($I3,$A$3:$B$17,2,FALSE),"")

    For End put this on K2 and copied down:
    =IFERROR(LOOKUP(2;1/($A$3:$A$17=$I3);$B$3:$B$17);"")

  3. #3
    Registered User
    Join Date
    06-01-2018
    Location
    Hong Kong
    MS-Off Ver
    2019
    Posts
    20

    Re: Min & Max

    This Formula is showing Error

    For End put this on K2 and copied down:
    =IFERROR(LOOKUP(2;1/($A$3:$A$17=$I3);$B$3:$B$17);"")

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Min & Max

    Sorry I'm forgot to change semicolon to commas because I'm using different system
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Min & Max

    ARRAY formula(Pl see note below) in I2 then drag down
    Please Login or Register  to view this content.
    Slight changes for J and K columns
    In J3 then drag down
    Please Login or Register  to view this content.
    In K3 then drag down
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 06-04-2018 at 10:18 PM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  6. #6
    Registered User
    Join Date
    06-01-2018
    Location
    Hong Kong
    MS-Off Ver
    2019
    Posts
    20

    Re: Min & Max

    # azumi

    # kvsrinivasamurthy

    Thanks to both, sure will work on it and will update you.

  7. #7
    Registered User
    Join Date
    06-01-2018
    Location
    Hong Kong
    MS-Off Ver
    2019
    Posts
    20

    Re: Min & Max

    Hello
    can you please show me the addition in this formula.
    =IF($I3="","",IFERROR(VLOOKUP($I3,$A$3:$B$17,2,FALSE),""))
    =IF($I3="","",IFERROR(LOOKUP(2,1/($A$3:$A$17=$I3),$B$3:$B$17),""))

    In Data part (before) the data are not in sequence but i want that in result part(after) it shows me J as "A1" & in K as "A5"

    Attachment 744972

    Thank you

  8. #8
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Min & Max

    H3=IFERROR(INDEX(LEFT($B$3:$B$100,1),MATCH(I3,$A$3:$A$100,0)),"")

    Copy down

    j3=IFERROR($H3&AGGREGATE(15,6,MID($B$3:$B$100,2,99)+0/($A$3:$A$100=$I3),1),"")

    copy down

    k3=IFERROR($H3&AGGREGATE(14,6,MID($B$3:$B$100,2,99)+0/($A$3:$A$100=$I3),1),"")

    copy down
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Min & Max

    Pl see file. Formula starts from row2.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    06-01-2018
    Location
    Hong Kong
    MS-Off Ver
    2019
    Posts
    20

    Re: Min & Max

    Thank you so much,yes this is useful for me as of now

  11. #11
    Registered User
    Join Date
    06-01-2018
    Location
    Hong Kong
    MS-Off Ver
    2019
    Posts
    20

    Re: Min & Max

    Thank you so much for reply
    if in data it is is in sequence A2,A3,A1,A4,A5 than the first value is taking A2 & not A1
    any correction that whatever is the sequence but on applying it show value as A1 ?

  12. #12
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Min & Max

    post # 8 works for you ?

  13. #13
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Min & Max

    Pl upload file with expected result and proposed data.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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