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