Solved

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

Posted on 2014-03-24
2
238 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 50

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
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…

679 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