+ Reply to Thread
Results 1 to 3 of 3

If then Data Validation

  1. #1
    Registered User
    Join Date
    08-10-2012
    Location
    Jefferson City, MO
    MS-Off Ver
    Excel 2013
    Posts
    7

    If then Data Validation

    I have 4 companies and each company has different product numbers. Two of the companies have a sub-collection and the different sub-collections names have the product number. I set up 3 data validation so you can (1) choose the company, (2) choose the collection (when applicable), and then (3)choose the product numbers. I'm using an If/Then statement in the data validation for the "collection category". The formula I’m using is working; however, I want the "Collection Cell" to remain blank if you didn't choose the company with the collection. Below is the formula I’m using and it's not working.

    =If(C2="LarsonJuhl_Collections","Collection List'!$C$2:$C$13$,"")

  2. #2
    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
    52,944

    Re: If then Data Validation

    Hi, welcome to the forum

    If you have already made a selection from a DD, that selection will stay there until you select something else or unselect it, there is no formula that will change that.

    Think of Data validation as just another way yo enter data into a cell, it really is no different. All it does is restrict what you can put in a cell, and help with typos etc, and just as you can either have data OR a formulas in any cell, the same if true for a cell with DV. The only way around that, is to use VBA
    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

  3. #3
    Registered User
    Join Date
    08-10-2012
    Location
    Jefferson City, MO
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: If then Data Validation

    Thanks, I Just figured out a way to work around this. In my column C3 - I removed the data validation and entered in an IF statement. Then, I entered the data validation formula in the same column and it worked!!!!

+ 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. Replies: 3
    Last Post: 06-04-2015, 02:27 PM
  2. [SOLVED] Data Validation: How to clear/delete the content of the cell and not Data Validation List?
    By lukelucky in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2015, 09:42 AM
  3. If statement based data validation? Dynamic data validation?
    By bjohnsonac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2014, 02:12 PM
  4. Replies: 4
    Last Post: 07-03-2014, 02:37 AM
  5. Replies: 4
    Last Post: 12-19-2013, 10:44 AM
  6. Adding Date Data Validation to cells with List Data Validation
    By biggtyme in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-03-2013, 09:47 AM
  7. Using Defined Names with Data Validation Depend and Data Validation Multi Select
    By Vinnie Chan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-01-2012, 05:36 PM

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