Closed Thread
Results 1 to 3 of 3

How to filter a lot of values at once?

  1. #1
    Registered User
    Join Date
    12-01-2022
    Location
    Greece
    MS-Off Ver
    Excel Microsoft 365
    Posts
    8

    How to filter a lot of values at once?

    Let's say that we have the following table. What will be the expression to find minimum and maximum values of the "First" column but only for rows 3 to 8 and return also the values which are located on the column named "Second" next to the maximum and minimum.

    For example, in the following table minimum value within range 3 to 8 is 123 and maximum is 960. The values next to minimum and maximum are 103 and 108 accordingly. So values 123, 103 and 960, 108 must be returned.

    First Second Rows
    321 101 1
    412 102 2
    123 103 3
    543 104 4
    431 105 5
    432 106 6
    323 107 7
    960 108 8
    423 109 9
    752 110 10

  2. #2
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: How to filter a lot of values at once?

    =VLOOKUP(MIN(A3:A8),A3:B9,2) and =VLOOKUP(MAX(A3:A9),A3:B9,2)

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: How to filter a lot of values at once?

    Administrative Note:

    Welcome to the forum.

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread:https://www.excelforum.com/excel-formulas-and-functions/1394753-how-to-filter-a-lot-of-values-at-once.html
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA - Auto Filter and make new sheets based on the filter values- Loop
    By Paul Cherian in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2017, 06:41 AM
  2. define custom filter and filter between TO and FROM values
    By raj soni in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-04-2015, 12:14 PM
  3. [SOLVED] Excel 2007-Adv Filter Copy and Loop with Nested Autofilter Using Values from Adv Filter
    By Southfish in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2014, 02:07 AM
  4. Replies: 6
    Last Post: 10-16-2014, 08:42 AM
  5. Replies: 5
    Last Post: 12-19-2013, 06:58 AM
  6. [SOLVED] excel vba filter values to listbox from combobox and save edit values in textbox
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-03-2013, 08:42 AM
  7. Replies: 1
    Last Post: 01-14-2013, 04:01 AM

Tags for this Thread

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