Solved

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

Posted on 2014-03-24
2
242 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 51

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
A high-level exploration of how our ever-increasing access to information has changed the way we do our jobs.
This video walks the viewer through the process of creating a watermark for their document, customizing it, and saving it for viewing/printing needs.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

752 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