+ Reply to Thread
Results 1 to 4 of 4

Drop Down Box Change Cell Text

  1. #1
    Registered User
    Join Date
    11-02-2021
    Location
    Wellingborough, England
    MS-Off Ver
    office 365
    Posts
    64

    Drop Down Box Change Cell Text

    Hi, see attached spreadsheet. When I chose an ENTRY from drop down option list in column C, I want the cell adjacent in the next column D to display a certain P# value automatically. Under the table is the display text. If no column cell in C is populated, both column cells C & D must remain empty. Any questions please ask. Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,769

    Re: Drop Down Box Change Cell Text

    Try

    =IF($C4="","",IFERROR(VLOOKUP($C4,$C$13:$D$16,2,0),""))
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    11-02-2021
    Location
    Wellingborough, England
    MS-Off Ver
    office 365
    Posts
    64

    Re: Drop Down Box Change Cell Text

    Hi John, that's great but is it possible to achieve the same result without the look up table being present on the sheet or needed? Cheers.
    Last edited by Kellyscoffee; 03-15-2022 at 04:18 PM.

  4. #4
    Registered User
    Join Date
    11-02-2021
    Location
    Wellingborough, England
    MS-Off Ver
    office 365
    Posts
    64

    Re: Drop Down Box Change Cell Text

    Thanks John for steering me in the right direction. I solved it by using =IF(F4="PH2","P1",IF(F4="HT7","P2",IF(F4="WE9","P3",IF(F4="DS3","P4",""))))

+ 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: 2
    Last Post: 05-20-2019, 02:37 AM
  2. [SOLVED] VBA - Dependant Drop Down auto-reset when text is entered in primary drop down cell
    By f41yaz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2018, 10:45 AM
  3. Replies: 5
    Last Post: 07-14-2017, 08:43 AM
  4. change group text with drop down choise
    By masterAndCommander in forum Excel General
    Replies: 13
    Last Post: 10-25-2016, 01:56 PM
  5. [SOLVED] Change cell text based on text (from drop-down) in another cell
    By mintymike in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-14-2015, 10:48 AM
  6. change appearance of text in drop down list
    By sick stigma in forum Excel General
    Replies: 3
    Last Post: 06-23-2007, 12:21 PM
  7. [SOLVED] How do I change the text size in a drop down box
    By Paragon Tim in forum Excel General
    Replies: 0
    Last Post: 04-07-2005, 03:06 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