+ Reply to Thread
Results 1 to 6 of 6

Data validation with conditional list by input formula

  1. #1
    Registered User
    Join Date
    02-27-2024
    Location
    Johor, Malaysia
    MS-Off Ver
    365
    Posts
    5

    Data validation with conditional list by input formula

    Hi,
    I want to make a dropdown list by data validation, and the data source by conditioning with a formula.
    I try to input the "IF" formula and it works fine, but when I input =UNIQUE(FILTER(Table1[A],Table1[B]=C6)), it shows an error.

    I try to make the dropdown list that refers to the specific cell value, for example, C6, and the list will only show after filtering that refers to the C6 value.

    Have any other suggestions or alternative ways to do this Data validation with the conditional list?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Data validation with conditional list by input formula

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-27-2024
    Location
    Johor, Malaysia
    MS-Off Ver
    365
    Posts
    5

    Re: Data validation with conditional list by input formula

    Hi, I'm sorry.
    Here is the attachment. Data validation with conditional list.xlsx

    I want to create data validation with a conditional list by inputting the formula instead of just referring to the other table list.
    In my example, I have created a filtered list based on the specific criteria for validation reference, but if I don't want to create the reference list and just input the formula in the data validation column, is it possible?

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,423

    Re: Data validation with conditional list by input formula

    cell D5 Data validity formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    cell E5 Data validity formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-27-2024
    Location
    Johor, Malaysia
    MS-Off Ver
    365
    Posts
    5

    Re: Data validation with conditional list by input formula

    Hi wk9128 ,
    Thank you very much for providing the solution.

    I remove the "Unique" formula for D5 and it just work well.

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,423

    Re: Data validation with conditional list by input formula

    You're Welcome. Glad to help . Thank You for the feedback.

    you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower
    left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

    If you finally get a solution please mark your thread as SOLVED:
    - Click Thread Tools above your first post,you will see the word PREFIX on the upper left, press the button to select [SOLVED] select "Mark your thread as Solved".

+ 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 Formula Too Long too Input
    By 333onlyhalfevil in forum Excel General
    Replies: 1
    Last Post: 09-15-2019, 09:25 PM
  2. Replies: 1
    Last Post: 09-28-2016, 12:37 PM
  3. VBA to input data validation list value to cells
    By bezbid in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-07-2015, 03:35 AM
  4. [SOLVED] Conditional validation, cell that switches between drop down list and text input
    By tvalls in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-31-2015, 04:15 PM
  5. Replies: 10
    Last Post: 11-03-2013, 06:53 PM
  6. How show the input message of a data validation list on a textbox
    By votefourpedro in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-10-2011, 02:12 PM
  7. [SOLVED] Data Validation list in Input Box... Possible ?
    By Corey in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-28-2006, 03:10 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