+ Reply to Thread
Results 1 to 3 of 3

Data Validation Conditional Formatting allow entry into only one of two cells

  1. #1
    Forum Contributor
    Join Date
    05-23-2014
    Location
    Fredericia, Denmark
    MS-Off Ver
    Windows Office 2013, Excel 10
    Posts
    139

    Data Validation Conditional Formatting allow entry into only one of two cells

    I'm trying to format adjacent cells so that data can only be entered into either one of them, but not both. I've tried Data validation but can't come up with a custom formula that doesn't result in "Stop" alerts whenever either cell is selected. (For example:
    Please Login or Register  to view this content.
    entered in one and
    Please Login or Register  to view this content.
    entered in the other.)

    Is there a way to disallow entry into both? Is there a formula that I can apply to both as a range using Conditional Formatting? I have long columns where each pair of these adjacent cells needs to be formatted per above.

    BTW, I need to avoid VBA with this tool.

    Thanks for any insights! David

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Data Validation Conditional Formatting allow entry into only one of two cells

    Try this in DV custom formula


    =COUNTA($A1:$B1)=1


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    05-23-2014
    Location
    Fredericia, Denmark
    MS-Off Ver
    Windows Office 2013, Excel 10
    Posts
    139

    Re: Data Validation Conditional Formatting allow entry into only one of two cells

    Works perfectly. and so simple! YOU are my hero. Thanks. David

+ 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. [SOLVED] Conditional Formatting Using Multiple Values in Other Data Validation Cells
    By Uclaid in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-21-2013, 06:47 PM
  2. Replies: 6
    Last Post: 01-09-2012, 02:29 AM
  3. Replies: 4
    Last Post: 09-27-2011, 04:16 AM
  4. Conditional Formatting on Cells with data validation
    By paxile2k in forum Excel General
    Replies: 9
    Last Post: 07-27-2009, 07:18 PM
  5. Replies: 15
    Last Post: 07-23-2008, 06:59 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