Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8872145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:09:21+00:00 2026-06-14T18:09:21+00:00

I want to highlight excel sheet cell (Column ‘A’) of when it does not

  • 0

I want to highlight excel sheet cell (Column ‘A’) of when it does not contain the text like “Verify”, “Validate” or “Evaluate” in its content if, the value in corresponding cell of Column ‘B’ holds the value ‘Y’.

When the column ‘A’ can’t contains the words like ‘Verify’, ‘Validate’ and ‘Evaluate’ if the corresponding cell in Column ‘B’ holds value ‘N’. So just need to highlight those discrepancies if its there.

Column ‘A’: Press Enter and verify this and this…

Column ‘B’: Y

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T18:09:22+00:00Added an answer on June 14, 2026 at 6:09 pm

    This is quick example. However, the second formula can be shorted in case that column B cannot be blank. See if this fits …

    Example

    EDIT:

    Here is VBA example as requested. You will need to save the code into current sheet (example: Sheet1 )…

    Option Explicit
    
    Private Sub Worksheet_Change(ByVal Target As Range)
        Dim str As String
        Dim lCol As Long
        Dim oCell As Object
        Dim oCellFormat As Object
        lCol = Target.Column
    
        If lCol = 1 Or lCol = 2 Then
           Set oCell = Cells(Target.Row, 1)
        Else
            GoTo mExit
        End If
        str = UCase(oCell.Value)
        Set oCellFormat = Cells(oCell.Row, 1)
        If (str = "VERIFY" Or str = "VALIDATE" Or str = "EVALUATE") Then
            If UCase(Cells(oCell.Row, 2).Value) = "N" Then
                oCellFormat.Interior.ColorIndex = 3 'red
            ElseIf UCase(Cells(oCell.Row, 2).Value) = "Y" Then
                oCellFormat.Interior.ColorIndex = 4 'green
            Else
                oCellFormat.Interior.ColorIndex = 2 'white
            End If
        Else
            oCellFormat.Interior.ColorIndex = 2 'white
        End If
        GoTo mExit
        Exit Sub
    mExit:
        Set oCell = Nothing 'free resources
        Set oCellFormat = Nothing
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want a regular expression to highlight text (underline) in sms like default sms
I want to highlight text in a specific position. Something like this: highlight with
I have a longer text and some keywords. I want to highlight these keywords
I want to make a uiview that can be aware of highlight status, like
I have a table in Excel. In each row, I want to highlight the
I want to retrieve a hyperlink to a cell in Excel and then paste
I have an items template and I want to highlight some text in a
I want to highlight only keywords that look like this: {KEYWORD} (basically UPPERCASE words
I want to highlight some part of my text that will be shown in
I don't want to highlight text (by changing background color to yellow - NO),

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.