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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,215,050
Messages
6,122,868
Members
449,097
Latest member
dbomb1414

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