format as table conditional

donniedorian

Board Regular
Joined
May 27, 2015
Messages
133
Hello,
I need conditional formating a column with banded rows , condition is band the rows with the same content the same, and the next one blank color

so I can see better where the rows with different differ
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Insert a new column in which you can put a check and come up with a number - then use this number for conditional formatting
e.g. let's say you data is in column A, I also assume you have a Header row (insert 1 if you don't have) :)
then in B2 put this formula and fill down as long as needed:
Code:
=MOD(IF(A2=A1,B1,B1+1),2)
Select the range to format and use this formula for Conditional formatting:
Code:
=$B2=1
 
Upvote 0

Forum statistics

Threads
1,214,889
Messages
6,122,097
Members
449,065
Latest member
albertocarrillom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top