+ Reply to Thread
Results 1 to 19 of 19

Cell with Data Validation(list Option) is accepting any value if the dependent is blank

  1. #1
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Cell with Data Validation(list Option) is accepting any value if the dependent is blank

    Hello Guys, I am stuck with Dependent data validation! I am using named range like animal in A1 and then in B1 there is indirect A1 which brings the list for validation. The problem is if A1 is empty b1 accepts any value !! and Data Validations list option in not accepting formula with named ranges as
    if(A1="Animal",Animal,if(A1="Number",Number..... so on
    For more clarification workbook is attached.

    Regards
    Hemesh
    Attached Files Attached Files
    Last edited by hemesh; 09-17-2013 at 08:54 AM.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    Hi,

    Try unchecking the Ignore Blank option.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    Hi, That worked and One more thing how to add if formula in data validation with named ranges it will constantly show the list source must be delimited
    Last edited by hemesh; 09-17-2013 at 10:04 AM.

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    I'm sorry. I don't understand your request. Could you perhaps re-attach your workbook with an illustrated example?

    Regards

  5. #5
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    Sorry For delayed reply but XOR what i am trying to do is to apply a formula in DV list option as =if(A1="Numbers",Numbers,if(A1="Alphabet",Alphabet and so on to create drop down instead of using =indirect(a1) but i am getting error in that part.

  6. #6
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    attached is the example file
    Attached Files Attached Files

  7. #7
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    Hi,

    But what precisely is wrong with the current INDIRECT method you are using? What would be the advantage you see in this alternative method?

    Regards

  8. #8
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    I am simultaneously working on other project where I am trying to use if function using indirect with named range is not a issue at all but I wanted to know why i am not able to use if function with named ranged and where I am going wrong

  9. #9
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    You must be sure that the names in your formula are the same as your named ranges. numbers, not number, for example

  10. #10
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    Hello I have useed original named ranges but still there is a error

  11. #11
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    What is the error message?

  12. #12
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    List source must be delimited

  13. #13
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    What formula did you enter?

  14. #14
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    Have you checked the attachment? it is updated in that
    Try to put =If (a1="alphabets", alphabets) and see what error message

  15. #15
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    I see now - you must put a cell reference for the Else part of your formula
    Last edited by Izandol; 09-18-2013 at 08:17 AM.

  16. #16
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    Izandol have you gone throgh the thread properly.

  17. #17
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    I trying to create a formula for list in DV with if function

  18. #18
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    No, he has a point:

    "Try to put =If (a1="alphabets", alphabets) and see what error message."

    You have not specified an ELSE clause in this formula. More importantly, you do not have a Defined Name called alphabets - though I can see one called alphabet.

    Try this if you wish to follow that route, though it's a painfully inefficient way:

    =IF(A1="alphabet",alphabet,IF(A1="animals",animals,numbers))

    Regards

  19. #19
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Cell with Data Validation(list Option) is accepting any value if the dependent is blan

    Got it in example file I used wrong names and in my original file named ranges are correct but a1 contains extra spaces

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Data Validation List - Dependent on Adjacent Cell - Value from Unsorted List
    By justforthis1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-26-2013, 12:24 PM
  2. How to Lock a cell based on option picked from a data validation list
    By dp0875 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-31-2013, 10:53 AM
  3. Replies: 2
    Last Post: 05-12-2011, 09:23 PM
  4. Replies: 4
    Last Post: 09-17-2010, 03:44 AM
  5. [SOLVED] Data validation dependent of value of option button
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2006, 09:55 AM

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