+ Reply to Thread
Results 1 to 4 of 4

How to vlookup with a range of value

  1. #1
    Registered User
    Join Date
    08-18-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    41

    How to vlookup with a range of value

    Hi,

    Can teach me how to do a vlookup based on a range of cell.

    Attached is the example and the highlighted part is the result I want to achieve.

    Thanks.

    vlookup range.xlsx

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: How to vlookup with a range of value

    Use VLOOKUP with the last parameter set to 1. Lookup list has to be sorted of course (as it is). VLOOKUP with the option 1 goes down the list and stops at the largest number that is stilll smaller than your lookup value.
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to vlookup with a range of value

    Hi

    Add a column with the first number of your weight range and then use this.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: How to vlookup with a range of value

    you can use
    =INDEX($G$3:$G$10,MATCH(A2,$F$3:$F$10,-1))
    which will lookup the nearest , largest value - But the table will need to be sorted differently - as shown in attached

    Note
    Should Weight of 1 be A and not B ?
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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: 0
    Last Post: 12-26-2013, 01:12 PM
  2. Display Cell within VLookup range that excel thinks matches the VLookup Value
    By headachexcelperson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2013, 04:56 PM
  3. Replies: 1
    Last Post: 09-04-2013, 07:23 AM
  4. Replies: 6
    Last Post: 09-04-2012, 10:35 AM
  5. Insert Vlookup into table_array of Vlookup with named range
    By Denise in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-24-2005, 07:06 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