+ Reply to Thread
Results 1 to 2 of 2

allow entry into cell in column C if Y in col B

  1. #1
    Registered User
    Join Date
    05-27-2009
    Location
    sydney, australia
    MS-Off Ver
    Excel 2003
    Posts
    21

    allow entry into cell in column C if Y in col B

    I have a cell in B* which can have either "Y" or "N"
    its corresponding C* - Q* value can have freeform values if B* is "Y" but I only want to allow values from a list in C* (and not any other column) if B* is "N"

    How possible is this and if it is how can I achieve it?
    Joe

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: allow entry into cell in column C if Y in col B

    I would use DATA VALIDATION for this. Highlight the cells in column C and select
    DATA > VALIDATION > Allow: List > Source: =IF($B2="Y",MyList)

    This presumes the answers you want are a named range called "MyList". If you would rather point directly to a cell range, then:
    =IF($B2="Y",$D$7:$D$11)

    Then, the other columns where you want to only allow freeform entry if B* is "N", use this:
    DATA > VALIDATION > Allow: Custom > Formula: =$B2<>"Y"
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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