+ Reply to Thread
Results 1 to 7 of 7

How to lookup a second or third value ia a table array against a lookup value

  1. #1
    Registered User
    Join Date
    08-28-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    3

    How to lookup a second or third value ia a table array against a lookup value

    Hi everbody,
    Can some one help me with solution to lookup a second or third value ia a table array against a lookup value.
    Example: In a below table, Vlookup we can get the value for bike as "5000", but I need to lookup the secong value for Bike, which is - 4500 & third value & so on, if available. Plz help me!

    Model Value
    Bike 5000
    Car 15000
    Truck 25000
    Bike 4500
    Truck 50000

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: How to lookup a second or third value ia a table array against a lookup value

    Hi,

    Try the following formula in E2:

    =IFERROR(INDEX($B$1:$B$13,SMALL(IF($A$2:$A$13=$D2,ROW($A$2:$A$13)),COLUMN(A1))),"")

    array entered (CTRL+SHIFT+ENTER)

    See the attached file.
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,292

    Re: How to lookup a second or third value ia a table array against a lookup value

    Option function aggregate
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    07-30-2014
    Location
    USA
    MS-Off Ver
    Version 14.4.3, Mac 2011
    Posts
    145

    Re: How to lookup a second or third value ia a table array against a lookup value

    Screen Shot 2015-08-28 at 11.14.40 AM.png

    Made from both cbatrody and Czeslaw's great answers.

    The Aggregate option is simple and shows from Largest to smallest, but blanks are listed as 0, (add a IF 0 then blank on the formula).

    The Index small option shows the numbers in the order they appear, and leaves blanks where there aren't values.

    Red

  5. #5
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,292

    Re: How to lookup a second or third value ia a table array against a lookup value

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    08-28-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    3

    Re: How to lookup a second or third value ia a table array against a lookup value

    Thank to all. Got the solution...

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How to lookup a second or third value ia a table array against a lookup value

    Quote Originally Posted by Czeslaw View Post
    Option function aggregate
    Note that the AGGREGATE function requires Excel 2010 or later.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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: 4
    Last Post: 05-19-2015, 08:42 PM
  2. LOOKUP TABLE -blank cell in the table array to return a figure
    By jonnops in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-28-2014, 09:08 AM
  3. [SOLVED] Lookup question matching part of lookup value in the table array
    By kosmo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-05-2013, 11:07 AM
  4. [SOLVED] LOOKUP Value within table array
    By lincolnsixecho in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-16-2013, 04:09 PM
  5. Table Array in V-Lookup changes from row to row
    By Montsi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-30-2012, 02:30 AM
  6. Replies: 7
    Last Post: 06-19-2011, 12:51 PM
  7. Lookup:table array
    By mangesh in forum Excel General
    Replies: 2
    Last Post: 01-29-2007, 02:59 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