+ Reply to Thread
Results 1 to 7 of 7

Data Validation Custom Formula

  1. #1
    Registered User
    Join Date
    06-11-2014
    Posts
    4

    Data Validation Custom Formula

    I'm having trouble working through a Data Validation formula.

    I have a merged cell with dropdown options (N5). If "MOC" is selected from the dropdown in N5, cell R5 must have something in it (it doesn't have to be anything specific - it just can't be blank).

    Any help is most appreciated! Thank you!!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Data Validation Custom Formula

    You could use Conditional Formatting on the R5 cell, if N5 is not blank and R5 is blank, turn the cell red. The Conditional Formatting formula would be:

    =AND($N5<>"", $R5="")
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-11-2014
    Posts
    4

    Re: Data Validation Custom Formula

    Thanks for your help!! That would work but I have 19 different things that can selected from the dropdown in N5 but the only choice that would need more data in R5 is "MOC". The rest of the choices don't need that additional step.

    I could use the conditional formatting method but I'd rather there be a big, fat notice that pops up to tell people there needs to be more informations with the MOC option and they can't move on without it.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Data Validation Custom Formula

    The CF therefore would be:

    =AND($N5="MOC", $R5="")



    Popups like you're describing would require VBA.

  5. #5
    Registered User
    Join Date
    06-11-2014
    Posts
    4

    Re: Data Validation Custom Formula

    This will work. Thank you!

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Data Validation Custom Formula

    As it appears you've reached a conclusion, I've marked this thread SOLVED for you.
    FYI, this is done through the Thread Tools located above the first post in this thread. Thanks.

  7. #7
    Registered User
    Join Date
    06-11-2014
    Posts
    4

    Re: Data Validation Custom Formula

    I see it now. Thanks again!

+ 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 - Custom Formula
    By cyee in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-03-2014, 04:52 AM
  2. [SOLVED] Data Validation Custom Formula
    By turist in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-13-2014, 06:42 AM
  3. Data Validation - Custom Formula
    By Brandy in forum Excel General
    Replies: 5
    Last Post: 10-05-2009, 04:32 PM
  4. custom formula data validation
    By mwc0914 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-11-2008, 10:03 PM
  5. custom data validation formula
    By mpreddy in forum Excel General
    Replies: 4
    Last Post: 06-11-2007, 06:42 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