+ Reply to Thread
Results 1 to 2 of 2

conditional formating + data validation

  1. #1
    Registered User
    Join Date
    02-14-2023
    Location
    Dushanbe, Tajikistan
    MS-Off Ver
    2019
    Posts
    1

    conditional formating + data validation

    hello there, need help how to allow enter in two cells only one respond - data validation and conditional formatting. - see the attached file. one one respond should be accepted and color changed from red to green. the second respond should be denied.
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,124

    Re: conditional formating + data validation

    in B4 use a custom validation
    =AND($B4=1,$C4="")
    in C4
    =AND($C4=1,$B4="")

    same thing for the other cells

    B7
    =AND($B7=1,$C7="",$D7="",$E7="",$F7="",$G7="",$H7="")
    C7
    =AND($B7="",$C7=1,$D7="",$E7="",$F7="",$G7="",$H7="")
    D7
    =AND($B7="",$C7="",$D7=1,$E7="",$F7="",$G7="",$H7="")
    E7
    =AND($B7="",$C7="",$D7="",$E7=1,$F7="",$G7="",$H7="")
    F7
    =AND($B7="",$C7="",$D7="",$E7="",$F7=1,$G7="",$H7="")
    G7
    =AND($B7="",$C7="",$D7="",$E7="",$F7="",$G7=1,$H7="")
    H7
    =AND($B7="",$C7="",$D7="",$E7="",$F7="",$G7="",$H7=1)

    I'm sure there may be away to do this with one formula selecting the range

    but thats all i could do

    also Untick - ignore BLANK
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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. Copy data validation +formating settings without cell values vba
    By blue_clouds_mountain in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-15-2019, 07:03 PM
  2. Replies: 5
    Last Post: 03-14-2014, 04:03 AM
  3. Replies: 4
    Last Post: 01-23-2014, 10:14 AM
  4. data validation formating
    By shya in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-14-2013, 08:48 AM
  5. Replies: 0
    Last Post: 08-08-2011, 01:22 PM
  6. Data Validation or conditional formating
    By benswelding in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-05-2011, 01:45 PM
  7. Conditional formating or validation?
    By NatNat in forum Excel General
    Replies: 1
    Last Post: 05-02-2009, 10:03 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