
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to Apply Conditional Formatting based on VLOOKUP in Excel?
Have you ever tried comparing the data on two different work sheets? Yes, it is possible to compare data from two different sheets in Excel. Let us assume we have two lists that contain the current prices of stocks and the price of a stock last month for a list of stocks, and you want to compare them to know where the price is high. In this tutorial, we will help you understand how you can apply conditional formatting based on VLOOKUP in Excel.
Applying Conditional Formatting based on VLOOKUP
Here we will apply the conditional formatting to cells based on the cell value. Let's take a look at a simple procedure for applying conditional formatting in Excel using VLOOKUP. We will be using the VLOOKUP function as a formatting formula.
Step 1
Let us consider that we have two work sheets that contain data similar to the data shown below.
Step 2
Now, in the current sheet, select the data, then click on the conditional formatting and select a new rule under "Home" in the Excel ribbon, which will open a new pop-up window similar to the one shown below.
Step 3
Now in the new pop-up, select Use the Formula and enter the formula as
=VLOOKUP($A2,'last month'!$A$1:$B$8,2,FALSE) < current!$B2 in the formula box and click on format, then select the colour you want to use and click OK to close both pop-ups, and our final result will look like the screenshot below.
As we can see, we successfully highlighted the companies whose stock price has decreased compared to the last month.
Conclusion
In this tutorial, we used a simple example to demonstrate how you can apply conditional formatting based on VLOOKUP in Excel to highlight a particular set of data.
- Related Articles
- How to Apply Conditional Formatting to a Column Based on Another Column in Excel?
- How to Apply Conditional Formatting across Worksheets /Workbooks in Excel?
- Apply Conditional Formatting for Each Row in Excel
- How to Apply Conditional Formatting Search for Multiple Words in Excel?
- Conditional formatting stacked bar chart in Excel
- How to compare adjacent cells with Conditional Formatting icon sets in Excel?
- How to Apply Negative VLOOKUP to Return the Value in Left of the Key Field in Excel?
- Conditional formatting rows or cells if two columns equal in Excel
- How to group ages in ranges with VLOOKUP in Excel?
- How to get services based on multiple conditional parameters in PowerShell?
- How to Copy Conditional Formatting Rules to Another Worksheet/Workbook?
- How to change value based on cell color in Excel?
- How to border cells based on cell values in Excel?
- How to AutoFilter Rows Based on Cell Values in Excel?
- How to Automatically Hide Columns Based on Date in Excel?
