+ Reply to Thread
Results 1 to 3 of 3

how can i lookup last value in a table arry instead of first value

  1. #1
    Registered User
    Join Date
    05-04-2014
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    7

    how can i lookup last value in a table arry instead of first value

    A b c d

    100 100 x

    100 y

    100 z

    i want to lookup 100 in colum b with a result of z instead of x in criteria c:d

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    24,029

    Re: how can i lookup last value in a table arry instead of first value

    Try using the Lookup formula

    =LOOKUP(100,A1:A3,B1:B3)

    Look at this link

    http://support.microsoft.com/kb/214069
    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

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,957

    Re: how can i lookup last value in a table arry instead of first value

    Assuming the lookup value is in cell G2 and the values are sorted, then you could use:

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



    See the example

    Regards, TMS
    Attached Files Attached Files
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. Lookup a blank cell in a Lookup table and return a figure.
    By jonnops in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-20-2014, 07:33 AM
  2. [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
  3. Replies: 1
    Last Post: 05-02-2012, 08:05 AM
  4. Arry Formula or Macro?
    By nkf531 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-17-2012, 05:47 PM
  5. [SOLVED] Pivot table doing a lookup without using the lookup function?
    By NGASGELI in forum Excel General
    Replies: 0
    Last Post: 08-02-2005, 01:05 AM

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