+ Reply to Thread
Results 1 to 5 of 5

Data Lists

  1. #1
    Registered User
    Join Date
    04-23-2009
    Location
    Grand Rapids, MI
    MS-Off Ver
    Excel 2003
    Posts
    2

    Data Lists

    In one spreadsheet I have two data columns one with a product type and one with the price.
    In another spreadsheet I have the product types in a drop down list. What I want it to do is once the product is selected to have the price automatically pop into the next cell. I was originall doing something like:
    =IF( A1="FOAM", $0.50,IF(A1="GLASS", $0.75," ")).
    But then I discovered you could only have a maximum of 7 inset functions. Is there another way to do this in Excel 2003?

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Data Lists

    Hi Doogie, and welcome to the forum.

    Since you have a table of products and prices to lookup from, take a look at the VLOOKUP function in Excel Help (or the myriad of examples on this forum).

    Hope that helps you in the right direction!

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Data Lists

    My recommendation is INDEX/MATCH since it works in all places a VLOOKUPwould work and a bunch more where it would not. Once you get INDEX/MATCH working in your head, you'll use it for everything...it replaces VLOOKUP, HLOOKUP and LOOKUP in most cases.

    Here's some posts regarding its use:

    http://www.excelforum.com/excel-gene...ame-row.html#3
    http://www.excelforum.com/attachment...tch-sample.xls


    =INDEX(Prices,MATCH(CodeChosen,Codes,0))


    Prices - the range of prices on the other sheet
    CodeChosen - your drop down selection
    Codes - range of codes on other sheet.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    04-23-2009
    Location
    Grand Rapids, MI
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Data Lists

    Excellent. Its working perfectly now, thanks for the help.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Data Lists

    If that takes care of your need, be sure to EDIT your original post (Go Advanced) and mark the PREFIX box [SOLVED]

+ 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