+ Reply to Thread
Results 1 to 6 of 6

Large() Orders My List, But How Do I Generate Select Values To Form Said List?

  1. #1
    Registered User
    Join Date
    11-11-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2007
    Posts
    29

    Large() Orders My List, But How Do I Generate Select Values To Form Said List?

    See post below. Sorry about that.
    Last edited by Billy Corman; 12-01-2015 at 02:43 PM.

  2. #2
    Registered User
    Join Date
    11-11-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2007
    Posts
    29

    Re: Large() Orders My List, But How Do I Generate Select Values To Form Said List?

    Make Model Top Speed
    Chrysler Coupe 120
    Dodge 4-door 130
    Ford Sedan 123
    Chevy 4-door 150
    Pontiac 4-door 142
    Dodge Sedan 130
    Ford Electric 133
    Chevy Convertible 153
    Pontiac 4x4 142
    Dodge Pick-up 130
    BMW Sedan 160
    Audi Supercar 226
    BMW Supercar 160

    In the above (totally fictitious) list/table, I want to determine the 3 fastest "4-door" cars. Right now, I really only know how to determine, and list, the fastest cars. I'd prefer to keep the list unsorted as the info-dump to generate a list will be quite large and repetitive.

    The key here is that "sedan", "4-door", and "electric" all qualify.

    Sidenote: I've come to these boards twice before and the responses are fast, precise and accurate. I offer thanks to those that have helped in the past.
    Last edited by Billy Corman; 12-01-2015 at 02:43 PM.

  3. #3
    Registered User
    Join Date
    11-11-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2007
    Posts
    29

    Re: Large() Orders My List, But How Do I Generate Select Values To Form Said List?

    Basically, I'd like an output as follows:
    Chevy 4-door 150
    Pontiac 4-door 142
    Ford Electric 133

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: Large() Orders My List, But How Do I Generate Select Values To Form Said List?

    Try

    =INDEX(A$2:A$14,MATCH(LARGE(IF(($B$2:$B$14="4-door")+($B$2:$B$14="Sedan")+($B$2:$B$14="Electric"),$C$2:$C$14),ROWS($1:1)),$C$2:$C$14,0))

    Enter with Ctrl+Shift+Enter


    Copy across two columns to get Model and Speed and copy down 2 rows
    Last edited by JohnTopley; 12-01-2015 at 03:03 PM.

  5. #5
    Registered User
    Join Date
    11-11-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2007
    Posts
    29

    Re: Large() Orders My List, But How Do I Generate Select Values To Form Said List?

    Quote Originally Posted by JohnTopley View Post
    Try

    =INDEX(A$2:A$14,MATCH(LARGE(IF(($B$2:$B$14="4-door")+($B$2:$B$14="Sedan")+($B$2:$B$14="Electric"),$C$2:$C$14),ROWS($1:1)),$C$2:$C$14,0))

    Enter with Ctrl+Shift+Enter


    Copy across two columns to get Model and Speed and copy down 2 rows
    You are a force of nature. Thanks so much.

    That response even corrects my desired output in the post above yours.

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: Large() Orders My List, But How Do I Generate Select Values To Form Said List?

    Thanks for the feedback.

    If you have your required result, could you please mark thread as solved ("Thread tools" at top of first post).

+ 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. Replies: 5
    Last Post: 01-07-2014, 10:45 AM
  2. Replies: 0
    Last Post: 06-25-2012, 07:21 AM
  3. [SOLVED] Select folder and generate list of hyperlinks
    By roki4 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-23-2012, 06:47 PM
  4. how to generate a list form a master list
    By harrie_t in forum Excel General
    Replies: 3
    Last Post: 03-07-2012, 01:55 AM
  5. Generate a separate small list from a large list
    By bprice in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-06-2012, 11:25 PM
  6. How to generate labels and textbox on a form from a list in a sheet?
    By marlonsaveri in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-14-2011, 04:32 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