+ Reply to Thread
Results 1 to 4 of 4

Validation and formula combined?

  1. #1
    Forum Contributor
    Join Date
    11-17-2009
    Location
    PA USA
    MS-Off Ver
    Excel 2000
    Posts
    184

    Question Validation and formula combined?

    I have a Yes/No list that I use in two cells for data validation:

    Cell A1 has the Yes/No list for data validation.

    Cell A10 has the Yes/No list for data validation.

    I want A10 to become No if the user selects "No" in the A1 pull-down list.

    Is this possible?
    Last edited by proepert; 01-14-2010 at 05:50 PM.

  2. #2
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Validation and formula combined?

    Does A10 become Yes when A1 is Yes?

    Why does A10 have validation list?
    Why can't A10 just be =A1.?

    May be there is more to it, so please explain.

    modytrane

  3. #3
    Forum Contributor
    Join Date
    11-17-2009
    Location
    PA USA
    MS-Off Ver
    Excel 2000
    Posts
    184

    Re: Validation and formula combined?

    Quote Originally Posted by modytrane View Post
    Does A10 become Yes when A1 is Yes?
    No, A10 can be No when A1 is Yes

    Why does A10 have validation list?
    Only Yes and No are valid entries

    Why can't A10 just be =A1.?
    See above.

    Thank you.

  4. #4
    Forum Contributor
    Join Date
    11-17-2009
    Location
    PA USA
    MS-Off Ver
    Excel 2000
    Posts
    184

    Re: Validation and formula combined?

    I have this working, not sure this is the best method, but it is working. The actual cell numbers are different from the original question.

    Private Sub Worksheet_Change(ByVal Target As Range)
    With Target
    If .Address = "$O$34" Then
    If LCase(.Value) = "yes" Then
    Range("$O$35:$O$42").Value = "Yes"
    Else
    Range("$O$35:$O$42").Value = "No"
    End If
    End If
    End With
    End Sub

+ 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