Forum Discussion
Walter_Pek
Aug 24, 2019Copper Contributor
Highlighting alternate rows using conditional formatting
Hi all, I am constructing a simple personal budget (Income, expense) excel sheet, and listing my expenses on a daily basis. I am hoping to highlight the rows based on alternate days for easy refe...
nabilmourad
Aug 24, 2019MVP
Hi
To apply banded rows conditional formatting:
- Select the range to format
- Home Tab >> Conditional Formatting >> New Rule
- Use Formula
- The formula I used is : =MOD(ROW(),2)=1
since the ROW function returns an incremental number >> I divide it by 2 (the divisor) and the MOD returns the REMAINDER 1,0,1,0,1,0... so the formatting will pop up if it is =1
This function works in list or tables.
It works also for Banded columns but replace ROW() by Column()
Hope that Helps
Nabil Mourad