+ Reply to Thread
Results 1 to 7 of 7

List or Any Value Based on Other Cell Value

  1. #1
    Forum Contributor
    Join Date
    07-02-2012
    Location
    UK
    MS-Off Ver
    365/2008
    Posts
    152

    List or Any Value Based on Other Cell Value

    Hi

    I'm wondering if there is a way of allowing a single cell to be a list or any value dependent on the value in another cell.

    For example:

    If A2 equals "Yes" then C2 should be a list. If A2 equals "No" then C2 should allow input of any value (no dropdown).

    Is this possible? If so can someone please advise how I can achieve this.

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: List or Any Value Based on Other Cell Value

    Put into sheet1 code:

    Please Login or Register  to view this content.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,974

    Re: List or Any Value Based on Other Cell Value

    If you are now using something newer than Excel 2003, please update your forum profile. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    07-02-2012
    Location
    UK
    MS-Off Ver
    365/2008
    Posts
    152

    Re: List or Any Value Based on Other Cell Value

    Thank you Kokosek, I've tested it and it works as expected.

    Is there a way to change the below bit of code to refer to a predefined list named "Region"?

    Please Login or Register  to view this content.

  5. #5
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: List or Any Value Based on Other Cell Value

    Sure:

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    07-02-2012
    Location
    UK
    MS-Off Ver
    365/2008
    Posts
    152

    Re: List or Any Value Based on Other Cell Value

    Excellent. Thank you so much for your help.

  7. #7
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: List or Any Value Based on Other Cell Value

    Happy to help.
    Mark thread as SOLVED, 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. Replies: 2
    Last Post: 03-01-2019, 02:00 PM
  2. Only display list in a cell based on selection in a different list, otherwise default
    By jenna.menchaca in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-17-2018, 03:13 PM
  3. Replies: 3
    Last Post: 11-13-2015, 05:10 AM
  4. Replies: 1
    Last Post: 10-23-2015, 04:18 PM
  5. [SOLVED] Update cell list based on Drop down List
    By eaflynn in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-24-2015, 03:48 PM
  6. Replies: 3
    Last Post: 08-16-2014, 09:55 AM
  7. Replies: 5
    Last Post: 11-28-2012, 09:58 AM

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