Solved

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

Posted on 2014-03-24
2
234 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 49

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel object stays open 19 73
Convert Access 97 .mdb file to .accdb file 16 128
Open Office very very slow 3 134
Using EXCEL to count the number of Rows 4 70
Meetings to discuss business process can waste time, and often do .  The meeting's dialog can get confusing when participants have different professional perspectives and backgrounds.  A jointly-developed process picture helps wade through the confu…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
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 the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

785 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