+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    02-01-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    Control Cell Value

    I would like to control a cell value based on a value entered in another cell. For example, If in A1 "x" is entered then B1 can hold anything in range 2-4.
    If in A1 "y" is entered then B1 can only be 0.

    Currently I have Data Validation lists for both A1 and B1, but i want to add this extra validation step.

    Any help is greatly appreciated.

  2. #2
    Forum Moderator shg's Avatar
    Join Date
    06-21-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007
    Posts
    25,131

    Re: Control Cell Value

    Custom validation for B1: =OR(AND(A1="y", B1=0), AND(A1="x", B1>=2, B1<=4))

    If there's already validation, then you'd need to integrate it.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

Thread Information

Users Browsing this Thread

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

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.2.0