+ Reply to Thread
Results 1 to 3 of 3

Vlookup Formula Needed, Help Please

  1. #1
    Registered User
    Join Date
    09-25-2006
    Posts
    9

    Smile Vlookup Formula Needed, Help Please

    I am after a vlookup formula, or any formula, that does the following:
    When a product is selected in the combo box, the corresponding price that goes with that producr is shown in the next cell.

    EXAMPLE:
    I select cheese in the combo box, then in the next cell the price 2.48 appears.


    I have 8 different products each with its own price, is it possible??


    (PS there is a sheet with just data in my document.)

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by curly88
    I am after a vlookup formula, or any formula, that does the following:
    When a product is selected in the combo box, the corresponding price that goes with that producr is shown in the next cell.

    EXAMPLE:
    I select cheese in the combo box, then in the next cell the price 2.48 appears.


    I have 8 different products each with its own price, is it possible??


    (PS there is a sheet with just data in my document.)
    Not 'Cheese', but will 'Boots' suffice?
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-28-2006
    Posts
    690
    In a remote area of your spreadsheet make a lookup table

    cheese...............2.48
    ham...................1.95

    (make sure the products are in ascending alphabetical order)

    Highlight it, call it pricetable

    Now say your combo box is in A1

    In A2 put the formula =vlookup(a1,pricetable,2)

+ 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