+ Reply to Thread
Results 1 to 2 of 2

IF & Data Validation - Part 2

  1. #1
    Forum Contributor dagindi's Avatar
    Join Date
    06-02-2008
    Location
    New York, NY
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    295

    IF & Data Validation - Part 2

    Recently I created a thread requesting help regarding IF & DATA VALIDATION that was quickly solved. While I was using it I ran into a new but different problem along the same topic...

    Once again I am attaching the original sample spreadsheet. Please refer to tab 11-23-2010 for the current problem.

    B6:B11 have the formula "=UOM" in Data Validation.

    C6:C11 has the formula "=IF(B7="Dollar",$C$2,INDIRECT(B7))" in Data Validation.

    The issue is if I select "Dollar" in from the list in B6:B11 I still have to select use the drop down list in C6:C11 to get the value in C2.

    I tried putting "=IF(B7="","",IF(B7="Dollar",$C$2,INDIRECT(B7)))" in C7 but that works as long as the user doesn't change the option in B7 to something else.

    Is there anyway to make the value in C2 automatically appear in the C6:C11 when "Dollar" is selected in B6:B11?

    Is there anyway to avoid putting the formula =IF(B7="","",IF(B7="Dollar",$C$2,INDIRECT(B7))) in C7 so that it is a permanent function?
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,719

    Re: IF & Data Validation - Part 2

    I saw a similar problem recently. If you have a data validation formula dependent on a cell, and then the value of that cell changes, the content of the cell with data validation will not automatically update to satisfy the condition.

    One option is to use VBA to detect the change. For example:

    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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