Solved

Excel Conditional Formatting Based On Multiple Cell Values

Posted on 2013-05-25
2
570 Views
Last Modified: 2013-05-26
In an Excel spreadsheet, I want to highlight any cell in the sheet that has the same value as any one of six cells in the first row. i.e. cells A1 through F1.

I will change the values in A1 through F1 daily & need to see if any of the 200 or so other sells in the sheet have the same value.

I thought Conditional Formatting could do it but it won't allow me to target the value of more than one cell, i.e. I can format to say if any of these cells are equal to A1, then highlight the cell, but I cannot say if equal to A1 OR B1 etc..

Any takers? :)
0
Comment
Question by:snooflehammer
2 Comments
 
LVL 23

Accepted Solution

by:
Michael74 earned 500 total points
ID: 39197366
The following formula when applied to a range with E4 as the top left corner will format the cell if equal to a value in A1:F1

=COUNTIF($A$1:$F$1, E4)

If have attached an example file for you to look at

Michael
Example.xlsx
0
 

Author Closing Comment

by:snooflehammer
ID: 39197471
Elegant. Thank you
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now