+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting based on rule

  1. #1
    Registered User
    Join Date
    07-01-2020
    Location
    Yerevan
    MS-Off Ver
    2010
    Posts
    44

    Conditional Formatting based on rule

    I have an excel file with two columns. Column 1- Account Number and Column 2- Account holder.

    I want to write a rule such that if cell in Column 2 is equal to "Armen" and adjacent cell in Column 1 starts with "CY", then the the cell in Column 2 will be highlighted.

    We can do this with vba as well.

    Is this possible.?

    See attached the sample file
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Conditional Formatting based on rule

    Highlight the cells in column B, then use this formula to set the rule to in the conditional formatting.
    =AND(left($A2,2)="CY", $B2="Armen")

+ 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. Replies: 2
    Last Post: 03-03-2020, 04:54 AM
  2. Conditional Formatting - % based off a rule
    By Raven358 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-23-2018, 01:21 PM
  3. [SOLVED] Conditional Formatting based on Calculation w/ in rule.
    By eggselent in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-22-2017, 09:15 AM
  4. [SOLVED] Conditional formatting rule - based on values in a table
    By John Steel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-08-2017, 01:48 PM
  5. Replies: 2
    Last Post: 05-09-2014, 02:30 PM
  6. [SOLVED] A conditional formatting rule that will highlight a cell based on certain criteria/date
    By FEL2014 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-24-2014, 03:51 PM
  7. Conditional formatting based on a rule
    By avik in forum Excel General
    Replies: 5
    Last Post: 09-30-2013, 01:03 PM

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