+ Reply to Thread
Results 1 to 7 of 7

Data Validation highlites?

  1. #1
    Registered User
    Join Date
    09-19-2007
    Posts
    10

    Data Validation highlites?

    I have a coulple Data Validators (list) set up for a couple of columns. Lets say the list is Yes and No. I wanted to know if its possible that when one of my columns validator is set to no if it could highlite the columns coresponding row. Does that make since?

    To re word this Each of my rows are a user account, each column is details about that users such as username, address, active ect. If active is set to no I would like it to highlite that entire row with a certain color. (user). Thanks.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Select all rows that you want to set format to.

    Go to Format|Conditional formatting

    Select Formula Is from 1st drop down and enter formula:

    =And($B$1="No",$C2="No")

    where B1 contains your data validation list and C2 is the first column/row in the selected rows that can contain "No". Adjust as necessary. Don't change the $ signs though. These "freeze" certain rows and columns.

    Click Format and choose colour from the Pattern tab and click Ok.

    Click Ok to finish.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try conditional formatting

    http://www.contextures.com/xlCondFormat01.html

    Select all cells then say your col with Col D enter this formula

    =$D1="no"

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Registered User
    Join Date
    09-19-2007
    Posts
    10
    Where is this format button, I cant find it anywhere on 2007 edition. This is why I keep asking questions because the tutorials say go to FORMAT>CONDITIONAL but doesnt say where I can find it

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

  7. #7
    Registered User
    Join Date
    09-19-2007
    Posts
    10
    PERFECT VIDEO thank both of you guys so much!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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