Closed Thread
Results 1 to 10 of 10

Changed cell value based on value in another cell (drop down menu)

  1. #1
    Registered User
    Join Date
    08-28-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    3

    Changed cell value based on value in another cell (drop down menu)

    Hi,

    I have a excel document that I am having trouble with. I have my drop down menu which are coming from a source on a seperate sheet - no problem.

    When I change the value in the drop down (Sheet 1, B14) I would like the cell next to it (C14) to also change value, and then finally another two cells away (E14) to also change.

    The idea is I select a product code, which then changes the description and price of an item. I have used the below IF formula, which is working for ONE drop down:

    =IF(B14="ProductCode","ProductDescriptionOne")

    However I have about 30 drop down options in the list, and I am not sure how to set the rest of them to complete the same function.

    Please could somebody advise and let me know if they need any more info.

    Any help is appreciated.
    Danny.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Changed cell value based on value in another cell (drop down menu)

    Please attach a sample workbook with enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Note: Please don't attach documents containing confidential data like (address, telephone, ID#s, etc.).


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    08-28-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Changed cell value based on value in another cell (drop down menu)

    Hello,

    Please find attached.

    As you can see I have 'Code1' sorted with changing the description and price using IF rules, however I would like to achieve this with all of the codes.

    I don't mind manually inserting the description and price into each formula if I have too.

    Thanks,
    Danny.Sample Workbook.xlsxSample Workbook.xlsx

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Changed cell value based on value in another cell (drop down menu)

    Hi,

    I think you need to put the following formula to your spread sheet and see if this is what you are looking for?

    Cell C14 = VLOOKUP($B$14,'Codes - Descriptions - Prices'!A1:C31,2,FALSE)

    Cell E14 = VLOOKUP($B$14,'Codes - Descriptions - Prices'!A2:C31,3,FALSE)

    See the attachment.

    I hope this is what you are looking for. Let me know, if it works for you.

    Thanks.
    Attached Files Attached Files

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Changed cell value based on value in another cell (drop down menu)

    Problem in posting due to server error. So the post was repeated.
    Last edited by sktneer; 08-28-2013 at 10:21 AM.

  6. #6
    Registered User
    Join Date
    08-28-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Changed cell value based on value in another cell (drop down menu)

    Perfect, thank you so much!

    That is exactly what I was looking for I will work on inserting all the products now!

    Thanks!

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Changed cell value based on value in another cell (drop down menu)

    Quote Originally Posted by DannyB94 View Post
    Perfect, thank you so much!

    That is exactly what I was looking for I will work on inserting all the products now!

    Thanks!
    Great. Don't forget to set the post status as Resolved and also hit the * (Star) to add reputation.

    Thanks.

  8. #8
    Registered User
    Join Date
    11-03-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Changed cell value based on value in another cell (drop down menu)

    Hi,

    CAn anyone help me to change drop down source depend on the value in another drop down.?

  9. #9
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Changed cell value based on value in another cell (drop down menu)

    Sunil,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  10. #10
    Registered User
    Join Date
    10-28-2014
    Location
    Mahape
    MS-Off Ver
    2007
    Posts
    1

    Re: Changed cell value based on value in another cell (drop down menu)

    Hi,
    I have same issue but in different way. I want to change one drop down value depending on the selected value of some another drop down value.

    Any help is appreciated.

    Regards,
    Mrudula.


    Quote Originally Posted by sktneer View Post
    Hi,

    I think you need to put the following formula to your spread sheet and see if this is what you are looking for?

    Cell C14 = VLOOKUP($B$14,'Codes - Descriptions - Prices'!A1:C31,2,FALSE)

    Cell E14 = VLOOKUP($B$14,'Codes - Descriptions - Prices'!A2:C31,3,FALSE)

    See the attachment.

    I hope this is what you are looking for. Let me know, if it works for you.

    Thanks.

  11. #11
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Changed cell value based on value in another cell (drop down menu)

    Pls read post#9.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Autofill a cell based on selection in drop down menu
    By fyrfytr265 in forum Excel General
    Replies: 4
    Last Post: 01-30-2014, 10:35 AM
  2. Hide Rows based on the value of a drop down menu in a single cell.
    By sayoban in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-25-2013, 04:36 PM
  3. Drop Down Menu Selection & New Value Worksheet based on Cell
    By shelton_4 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-15-2012, 09:46 PM
  4. [SOLVED] Excel 2007 : new drop down menu based on dropdown menu in previous cell
    By martinpols in forum Excel General
    Replies: 3
    Last Post: 04-30-2012, 02:33 AM
  5. contents of cell is based on what I choose in a drop down menu
    By damolee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-19-2009, 05:06 AM

Tags for this Thread

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