+ Reply to Thread
Results 1 to 3 of 3

Thread: VLOOKUP in a range

  1. #1
    Registered User
    Join Date
    09-22-2011
    Location
    Enschede, Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    2

    VLOOKUP in a range

    Dear all,

    I have been using Excel to calculate some prices based on the weight of the product. However the problem is that the prices are based on brackets. This means that for e.g. weights ranging from 1000 to 1999 lbs the price is 10 per lbs, for 2000 to 3999 its 20 lbs etc. The prices do not increment with a fixed range.

    I imagine that VLOOKUP is the thing to use here, the problem is that it can only lookup one value. Thus if I would want to make this work I have to create a table which links 1000 to 10, 1001 to 10, 1002 to 10. This would be doable for lets say 50 rows but this specific sheets needs to support at least weights of 12000 lbs so that would give us 12000 rows.

    I have attached an example of how my table is constructed.

    Thanks in advance,

    Stijn
    Attached Files Attached Files
    Last edited by Stijnvdk; 09-22-2011 at 06:54 AM. Reason: solved

  2. #2
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2003, 2007, 2010
    Posts
    263

    Re: VLOOKUP in a range

    Hi Stijnvdk,

    what you want here is the LOOKUP function. Please see attached. Places where i've highlighted as yellow indicates where I've changed from the workbook you attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-22-2011
    Location
    Enschede, Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: VLOOKUP in a range

    Thank you so much! I have been strugling with this for a while now and always used VLOOKUP. Didn't even know there is a normal LOOKUP function! I feel silly.

    Thanks again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0