+ Reply to Thread
Results 1 to 6 of 6

VLookup for dynamic ranges

Hybrid View

  1. #1
    Registered User
    Join Date
    05-03-2008
    Posts
    24

    VLookup for dynamic ranges

    Hello

    I want to create dependent lists using data validation. The lists need to be created from ranges that will be growing as users add more data. I think the best way to create the list is a VLOOKUP. However, I am not sure how to use the VLOOKUP when the range is changing.

    I have attached an example. I have a list on sheet "Vlookup" called "FRUIT" with "apple", "orange", "banana". Then to make the depedent lists I have created three other lists called: "APPLE", "ORANGE", "BANANA". I want to pull the COST from sheet "VALUES" into the lists "APPLE", "ORANGE", "BANANA". Users will be adding costs next to the FRUIT they purchase.

    Thank you for your help!
    Attached Files Attached Files
    Last edited by NBVC; 10-28-2008 at 08:05 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Have a look here on how to create dependant lists:

    http://www.contextures.com/xlDataVal02.html
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-03-2008
    Posts
    24
    I have created the depedent lists on the "VLOOKUP" sheet. The dependent lists are called "FRUIT" and "COST". When you select "apple" from the "FRUIT" list, the "COST" list displays the data listed in the column named "APPLE". My problem is that the data in the column "APPLE" needs to be extracted from the "VALUES" sheet. I can extract the first cost associated with "APPLE" but how do I extract all the other costs? Currently my "apple" column is listing the same cost over and over. See attached.
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I don't see where you created the dependant lists using Data Validatioin.

  5. #5
    Registered User
    Join Date
    05-03-2008
    Posts
    24
    Hi

    I was able to resolve my question. How do I change this thread to "SOLVED"?

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by brillison View Post
    Hi

    I was able to resolve my question. How do I change this thread to "SOLVED"?
    Edit your original post.

    Click Go Advanced.

    Select [SOLVED] from Prefix menu

    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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