+ Reply to Thread
Results 1 to 3 of 3

How to set color validation and mandatory fields in the excel sheet

  1. #1
    Registered User
    Join Date
    11-09-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question How to set color validation and mandatory fields in the excel sheet

    Hi All,

    I was beginner in using excel sheets but have lots of thoughts to implement in them. Can anyone help me in below scenarios ?

    A. Need Excel where it has two columns and if any value is entered in a particular row in 1st column then same row of 2nd column should be mandatory.
    B. Also, I have 3rd column as "status: which has a dropdown with values as Pass,Fail
    status=Pass then total row should change to GREEN.
    status=Fail then total row should change to RED.

    I think anything is possible in EXCEL. Please help me on this.

    Thanks in advance.

    Regards,
    Anoosh.
    Last edited by kvanoosh; 11-09-2012 at 11:15 AM.

  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
    53,053

    Re: Excel Mini Project - Need Help

    welcome to the forum. we would be happy to help you, however

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    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
    11-09-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How to set color validation and mandatory fields in the excel sheet

    Hi,

    COLOR VALIDATION IMPLEMENTATION:
    Conditional Formatting>>New Rule>>Use a formula to determine which cells to format
    =OR($F3="Cannot Duplicate", $F3="Duplicate")

    Based on above the complete row will be colored.

    COLOR Only for that cell:
    Conditional Formatting>>New Rule>>Format only cells that contain
    Cell Value----equal to----Cannot Duplicate

    For Mandatory:
    Data Validation>>Settings
    Allow:Custom
    Formula: =NOT(ISBLANK(M3:M199))

    Based on the above if M column is blank then corresponding row of another column where formula is written cannot be entered.

    Regards,
    Anoosh.

+ 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