+ Reply to Thread
Results 1 to 7 of 7

Change cell content depending on selection from drop down list

  1. #1
    Registered User
    Join Date
    04-12-2015
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    18

    Change cell content depending on selection from drop down list

    Hi,

    I'm currently working on a price list, please see attached.

    worksheet.xlsx

    I would like to change the prices (in column C, Sheet1) depending on the selection from the drop-down list in Sheet1 I2. The prices are located at Sheet2, listed by article nr.

    Any suggestions?

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Change cell content depending on selection from drop down list

    hi mack4n. try this in C2:
    =INDEX(Blad2!B:D,MATCH(A2,Blad2!A:A,0),MATCH(I2,Price,0))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    04-12-2015
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    18

    Re: Change cell content depending on selection from drop down list

    Quote Originally Posted by benishiryo View Post
    hi mack4n. try this in C2:
    =INDEX(Blad2!B:D,MATCH(A2,Blad2!A:A,0),MATCH(I2,Price,0))
    Thank you benishiryo. Can you please attach the worksheet with the code in C2? I got an error code (and yes, I did translate the function).

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Change cell content depending on selection from drop down list

    you're welcome~ here you go
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-12-2015
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    18

    Re: Change cell content depending on selection from drop down list

    Beautiful! Thank you very much!

  6. #6
    Registered User
    Join Date
    04-12-2015
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    18

    Re: Change cell content depending on selection from drop down list

    Hi again,

    Tried to add some other cells to show the different prices in both per piece and per pallet (also a third per box). See attached. Got some error though when I tried to create a new drop down list though, see screenshot.
    error.png

    Can I use the same function as above or do I need to add something?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-12-2015
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    18

    Re: Change cell content depending on selection from drop down list

    Anyone, please?

+ 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. Vlookup to chose correct list depending on a drop down list selection
    By Bandit_750 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 12-06-2015, 06:22 PM
  2. Replies: 1
    Last Post: 04-03-2015, 06:00 PM
  3. Replies: 1
    Last Post: 06-22-2014, 02:39 AM
  4. [SOLVED] Hide rows depending on a selection in a drop-down list.
    By Kim_Mohler in forum Excel General
    Replies: 5
    Last Post: 05-02-2012, 05:40 PM
  5. Change ws3 Cell Content Depending On ws1 Content
    By heliskier89 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2011, 04:52 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