Select your range from cell A (or the whole columns by first selecting column A). Make sure that the ‘lighter coloured’ cell is A1 then go to conditional formatting, new rule:
Put the following formula and the choice of your formatting (notice that the ‘lighter coloured’ cell comes into play here, because it is being used in the formula):
=$A1<>$B1
Then press OK and that should do it.
Related Contents:
- How to return a result from a VBA function
- Function to convert column number to letter?
- Excel VBA App stops spontaneously with message “Code execution has been halted”
- How do I put double quotes in a string in vba?
- Simple Pivot Table to Count Unique Values
- Display milliseconds in Excel
- How to add a custom Ribbon tab using VBA?
- How to create an Excel File with Nodejs?
- What is the equivalent of “!=” in Excel VBA?
- Refreshing all the pivot tables in my excel workbook with a macro
- “Can’t find Project or Library” for standard VBA functions
- Test or check if sheet exists
- Last non-empty cell in a column
- How to turn a string formula into a “real” formula?
- Get length of array?
- How to put a tooltip on a user-defined function
- Save each sheet in a workbook to separate CSV files
- Is there a limit on an Excel worksheet’s name length?
- How can I URL encode a string in Excel VBA?
- How do I get countifs to select all non-blank cells in Excel?
- Ignore Duplicates and Create New List of Unique Values in Excel
- Getting unique values in Excel by using formulas only
- Convert string to int if string is a number
- How to get current working directory using vba?
- How to use the Implements in Excel VBA
- Generating random numbers with normal distribution in Excel
- Excel formula to get cell color [duplicate]
- Convert milliseconds to date (in Excel)
- OleDB & mixed Excel datatypes : missing data
- Pass row number as variable in excel sheet
- Does the VBA “And” operator evaluate the second argument when the first is false?
- Excel’s fullname property with OneDrive
- Case Function Equivalent in Excel
- reading Excel Open XML is ignoring blank cells
- IF a cell contains a string
- How can I create a calendar input in VBA Excel?
- Border around each cell in a range
- How to get the excel file name / path in VBA
- Excel compare two columns and highlight duplicates
- Why MS Excel crashes and closes during Worksheet_Change Sub procedure?
- How do you run a .exe with parameters using vba’s shell()?
- Is it possible to replace Excel’s VBA Editor/IDE with a modern alternative? [closed]
- Substitute a comma with a line break in a cell
- Closing Excel Application using VBA
- Reordering Chart Data Series [closed]
- How to disable Excel’s automatic cell reference change after copy/paste?
- Excel how to find values in 1 column exist in the range of values in another
- EXCEL VBA Check if entry is empty or not ‘space’
- Adding double quote delimiters into csv file
- Run Excel Macro from Outside Excel Using VBScript From Command Line