Solved

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

Posted on 2014-03-24
2
231 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
2 Comments
 
LVL 48

Accepted Solution

by:
Rgonzo1971 earned 500 total points
Comment Utility
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
Comment Utility
This works fine. Thanks for you assistance
Ldufresne
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.

771 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

9 Experts available now in Live!

Get 1:1 Help Now