+ Reply to Thread
Results 1 to 6 of 6

Conditional Data Validation

  1. #1
    Registered User
    Join Date
    08-02-2018
    Location
    In a House
    MS-Off Ver
    Windows 10
    Posts
    3

    Conditional Data Validation

    Hello,

    I am building a spreadsheet to assigned employees to work on projects based on their individual skills sets.

    I have three named lists that contain the names of employees that are certified to work on different projects. I to use these lists as sources in for drop downs via Data Validation.

    I am trying use the following formula in order to determine named listed appears in the dropdown.

    =IF(SEARCH("ABC",A15),List_1,IF(SEARCH("DEF",A15),List_2,IF(SEARCH("GHI",A15),List_3_,List_4)))

    However, Excel tells me that this formula evaluates to an Error. I cannot find out why? Can someone point me to how to correct the formula? Or if there is a better way to have the lists populate based Cell A15's value, can you help me to understand what I need to do, please?

  2. #2
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,347

    Re: Conditional Data Validation

    wrap your searches in "isnumber" otherwise you are just creating an error not running a true/false test.

    Please Login or Register  to view this content.
    also
    is list 3 really "list_3_" possibly you made a typo.
    If you want something done right... find a forum and ask an online expert.

    Time flies like an arrow. Fruit flies like a banana.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,047

    Re: Conditional Data Validation

    I think you might be better served using INDEX/MATCH for this
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    08-02-2018
    Location
    In a House
    MS-Off Ver
    Windows 10
    Posts
    3

    Re: Conditional Data Validation

    Understood. Thank You for taking the time to help.

  5. #5
    Registered User
    Join Date
    08-02-2018
    Location
    In a House
    MS-Off Ver
    Windows 10
    Posts
    3

    Re: Conditional Data Validation

    Works great now!! Thank You.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,275

    Re: Conditional Data Validation

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Conditional Data Validation
    By Don Adeks in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-19-2017, 09:58 AM
  2. Replies: 2
    Last Post: 10-22-2015, 04:18 PM
  3. [SOLVED] Conditional Data Validation Drop-down Lists with Large Amounts of Data
    By Aimee S. in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-27-2015, 01:42 PM
  4. Conditional Formatting or Data Validation for 1 cell based on another but limited data?
    By ExcelBeginner326 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-10-2015, 01:25 PM
  5. [SOLVED] Conditional Data validation
    By Emmar01 in forum Excel General
    Replies: 3
    Last Post: 08-30-2012, 01:06 PM
  6. data validation - conditional
    By tstanard in forum Excel General
    Replies: 2
    Last Post: 12-23-2008, 04:35 PM
  7. [SOLVED] conditional data validation
    By RickS in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-16-2005, 09:15 AM

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.6.0 RC 1