+ Reply to Thread
Results 1 to 4 of 4

how to use vlookup/macro programming for this issue?state price accroding droplist

  1. #1
    Registered User
    Join Date
    06-14-2007
    Posts
    25

    how to use vlookup/macro programming for this issue?state price accroding droplist

    okie i need help in this.am stuck at this point.

    i have a database of product and price

    of which

    i have included the product in a dropdown list in another worksheet,

    what i would want to do is that when i select the product from the dropdown list, the price will appear.

    can anyone teach me how to go abt doing it?

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,526

    Vlookup from Other sheets

    Here's a site on VLOOKUP

    http://www.contextures.com/xlFunctions02.html

    as well as a quick example

    select the drop down menu in A2 and notice the other cells change

    the other cells have the vlookup formula C2 and D2


    look at sheet 2 to see the data
    Attached Files Attached Files
    Last edited by davesexcel; 07-20-2007 at 12:35 AM.

  3. #3
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565
    Hi there,

    Have a look at the formula in cell B2 on Sheet2 and if it's what your after, change the range and tab name to suit.

    HTH

    Robert
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-14-2007
    Posts
    25
    the small attachment which u insert is exactly what i meant!!

    =VLOOKUP($A$2,Sheet2!$A$1:$C$5,2,FALSE)

    can u explain this?

    my source is from G2 to G132 (sheet b)

    my dropbox is at Sheet D (located at c7)

    price to show up at Sheet D E7

+ 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