+ Reply to Thread
Results 1 to 6 of 6

Get Max and Min Value using Filter function

  1. #1
    Forum Contributor mikehk's Avatar
    Join Date
    09-05-2017
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    483

    Get Max and Min Value using Filter function

    Please help me fix this formula
    I am trying to get MAX value of a range in a table

    =FILTER(MAX(C4:H4),Table1[Name]=B13)

    I attach a sample file.

    Thank you.
    Attached Files Attached Files
    Last edited by mikehk; 03-06-2021 at 05:40 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,420

    Re: Get Max Value using Filter function

    Try this:

    =MAX(IF(Table1[Name]=B13,Table1[[Column1]:[Column6]]))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor mikehk's Avatar
    Join Date
    09-05-2017
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    483

    Re: Get Max and Min Value using Filter function

    this works, thanks!
    the same formula on MIN doesn't work

    =MIN(IF(Table1[Name]=C13,Table1[[Column1]:[Column6]]))

    Result I get is 0

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

    Re: Get Max and Min Value using Filter function

    c13=MIN(FILTER(Table1[[Column1]:[Column6]],Table1[Name]=B13))

    c13=MAX(FILTER(Table1[[Column1]:[Column6]],Table1[Name]=B13))



    max

    c13=AGGREGATE(14,6,Table1[[Column1]:[Column6]]/(Table1[Name]=B13),1)


    min

    c13=AGGREGATE(15,6,Table1[[Column1]:[Column6]]/(Table1[Name]=B13),1)
    Last edited by CARACALLA; 03-06-2021 at 06:15 AM.

  5. #5
    Forum Contributor mikehk's Avatar
    Join Date
    09-05-2017
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    483

    Re: Get Max and Min Value using Filter function

    Hurray! thank you so much

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,420

    Re: Get Max and Min Value using Filter function

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Filter function in Office 365 - filter with designated field
    By Eric Tsang in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-28-2020, 10:55 AM
  2. Filter function help
    By Lemming911 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-09-2013, 05:16 AM
  3. Filter Function
    By mphillips in forum Excel General
    Replies: 1
    Last Post: 10-08-2013, 02:53 PM
  4. Filter by Function
    By arctushar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-29-2013, 04:29 AM
  5. [SOLVED] Help : Macro Function - unable to apply filter function after macro the file.
    By Shermaine2010 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-05-2013, 12:50 AM
  6. Filter function
    By Brian Brandt in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-26-2006, 07:59 AM
  7. [SOLVED] advanced filter a range:Advanced Filter function
    By Il Principe in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10: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