+ Reply to Thread
Results 1 to 5 of 5

Need a funtion that will retern a numerical value based on a drop down list.

  1. #1
    Registered User
    Join Date
    08-03-2014
    Location
    Texas
    MS-Off Ver
    2010 and 2014
    Posts
    3

    Need a funtion that will retern a numerical value based on a drop down list.

    If this sounds impossible or crazy, just tell me.
    I need help with a formula.
    What I am trying to do is have a drop down list in one cell and have the next cell bring in the correct price for the item in the first cell. Sounds fairly easy? Well both lists are 200 items.
    I have been trying to do this with just three items so far. On sheet two, I have created two lists. The first list in column A contains dogs, cats, mice. The second list in column B contains 1, 2, 3. On sheet one, I have created the drop down list for the animals in the A12 cell. I would like for B12 to auto populate the corresponding number to the animal without having to create an if formula for each animal and number.
    Any help with this issue would be greatly appreciated!

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Need a funtion that will retern a numerical value based on a drop down list.

    Hi,

    Welcome to the Forum.

    You can do this with the help of VLOOKUP function. Enter the following formula in B12 Sheet1.

    =VLOOKUP(A12,Sheet2!A:B,2,0)

    Please see the attached file.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-03-2014
    Location
    Texas
    MS-Off Ver
    2010 and 2014
    Posts
    3

    Re: Need a funtion that will retern a numerical value based on a drop down list.

    Thank you! Thank you! Thank you!
    You have no idea how much this helps!
    Thank you again!

  4. #4
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Need a funtion that will retern a numerical value based on a drop down list.

    You are welcome

    Also, I would like to inform you that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful.

  5. #5
    Registered User
    Join Date
    08-03-2014
    Location
    Texas
    MS-Off Ver
    2010 and 2014
    Posts
    3

    Re: Need a funtion that will retern a numerical value based on a drop down list.

    Done! And thank you again! You saved my hair. lol

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 13
    Last Post: 07-29-2014, 10:57 AM
  2. Sum funtion by selecting the range from drop down list
    By varun.kalra1988 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-15-2014, 02:50 PM
  3. Replies: 5
    Last Post: 05-03-2013, 06:14 PM
  4. Populate Drop-down list based on selection from previous drop-down list
    By Diventus in forum Excel - New Users/Basics
    Replies: 14
    Last Post: 01-11-2013, 10:55 AM
  5. IF funtion to select from drop down list
    By amitraiforyou in forum Excel General
    Replies: 6
    Last Post: 11-19-2010, 02:31 PM

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