Solved

MS Excel 2011 - Highlighting a entire row when the item in a cell changes.

Posted on 2014-03-24
2
244 Views
Last Modified: 2014-03-26
I have an excel spreadsheet that lists data in rows in which there can be 3 or 4 rows with the name of the same company in each row. The spreadsheet is sorted by company name so that all of the like company names appear as a group of rows in the spreadsheet.  

What I would like to do is use a format that displays all of the rows of the same company in one color (light blue) and when the name of the company changes to a new name,  highlight these rows in the the spreadsheet with another color (white).

The third company would be highlighted light blue again and the fourth company  would be white again.

Whenever there is a new company name the color of the entire row would change again.

I think there is a function in excel that does this kind of formatting but I am not sure where it is and how to use it.

Any assistance would be appreciated.

Thanks in advance for your suggestions

Ldufresne
0
Comment
Question by:Lou Dufresne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 52

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 39950844
You could do it with a helper's column and conditional formatting

See example

Formula
=IF(D3<>D2,NOT(E2),E2)*1

Open in new window

Regards
EE20140324.xlsx
0
 
LVL 1

Author Closing Comment

by:Lou Dufresne
ID: 39956531
This works fine. Thanks for you assistance
Ldufresne
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
As freelancing is becoming more and more common in the tech industry, certain obstacles are proving to be a challenge to those who are used to more traditional, structured employment. This article is meant to help identify such obstacles and offer a…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

623 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