+ Reply to Thread
Results 1 to 4 of 4

If function & Conditional formatting

  1. #1
    Registered User
    Join Date
    08-10-2016
    Location
    US
    MS-Off Ver
    365
    Posts
    70

    If function & Conditional formatting

    See attached spreadsheet.

    Column C contains a formula that determines Coverage Rate based on position and annual earnings.

    I want column B to automatically auto populate the answer Yes if Column A = 1,

    But if column A = 2, I need the appropriate cell in column B to be highlighted.

    Basically, if the Class = 2, they have the option to reject coverage.
    Attached Files Attached Files

  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
    52,926

    Re: If function & Conditional formatting

    You already have a DD in B, but use this...
    =IF(A2=1,"Yes","No")

    For the highlighting...
    1. highlight the range you want to apply the conditional formatting to
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =A2=2 format fill your color choice
    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
    08-10-2016
    Location
    US
    MS-Off Ver
    365
    Posts
    70

    Re: If function & Conditional formatting

    How can I adjust the formula so that if Nothing is entered in Column A, then Nothing will appear in Column B?

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: If function & Conditional formatting

    Try modifying the formula so that it reads:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Let me know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Using AND function in conditional formatting
    By jones.codyw in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-24-2015, 04:24 PM
  2. [SOLVED] IF function with Conditional Formatting
    By gast261 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-12-2014, 08:27 PM
  3. Conditional formatting - IF function
    By mra1984 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-05-2013, 09:44 AM
  4. Conditional formatting using MAX function
    By yardenon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-26-2013, 12:09 PM
  5. [SOLVED] Conditional formatting with AND() and OR() function
    By nickmax1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-21-2013, 08:37 AM
  6. if function and conditional formatting
    By Tziggy in forum Excel General
    Replies: 7
    Last Post: 12-08-2008, 05:32 PM
  7. IF Function and Conditional Formatting
    By excelRookie06 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-27-2007, 09:16 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