Results 1 to 6 of 6

Validating a cell

Threaded View

m.cain Validating a cell 09-27-2007, 03:53 PM
VBA Noob See link ... 09-27-2007, 04:03 PM
m.cain Validating a cell 09-27-2007, 04:58 PM
starguy If cell A1 contain the optoin... 09-28-2007, 01:33 AM
m.cain Thank you for your advice. In... 09-28-2007, 10:50 AM
Braddigan Validating a cell 07-07-2011, 03:51 PM
  1. #4
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by m.cain
    Thank you for your reply and useful link.

    How does this work though if you have more than one cell that you want un-editable if the first cell does not have the correct value?

    e.g. Cell 1 = ""
    Cell 2 = ""
    Cell 3 = ""
    ....

    while:
    Cell 1 = "X"
    Cell 2 = "1, 2, 3"
    Cell 3 = "red, blue, green, yellow"
    ...
    If cell A1 contain the optoin of X or blank
    Then apply Custom Data Validation in A2 as

    =AND(A1="X",OR(A2=1,A2=2,A2=3))
    remember to uncheck the Ignore blank option.

    And in cell A3 use this Custom formula

    =AND(A1="X",OR(A3="red",A3="blue",A3="green",A3="yellow"))
    remember to uncheck the Ignore blank option.

    ----edit-----
    formulas wrapped
    Last edited by starguy; 09-28-2007 at 01:39 AM.

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