How to shade every other or alternate rows in Excel?
To improve readability, some people shade every other row in a busy Excel sheet. But in a worksheet, if there are so many rows to be shaded, and you have to do it one by one, it will waste a lot of time. Are there any simple ways to do this quickly?These methods show you how to shade alternate rows or columns in excel .
1. Select the range that you want to shade, then click Home>> Conditional Formatting>> New Rule... See screenshot:
2. Then a New Formatting Rule dialog box will pop out. Select Use a formula to determine which cells to format item. Then Input the formula “=MOD(ROW(),2)” in Format values where this formula is true.
3. Then click the Format… button, another Format Cells dialog box will pop out. Go to Fill tab and choose one colour for shading the background. See screenshot:
3. Click OK to return the New Formatting Rule dialog box, and also you will see the colour in the Preview box.
4. Then click OK. You will get the result you want. See screenshot:
1. Insert or delete a row in the shading range and you will see that the shading persists.
2. If you want to shade alternate columns,using this formula “=MOD(COLUMN(),2)”.
With the Alternate Row / Column Shading utility of the third party add-in Kutools for Excel, you can shade alternate rows or columns quickly and conveniently.
Before applying Kutools for Excel, please download and install it firstly.
1. Select the range that you want to shade. Click Kutools > Format > Alternate Row/ Column Shading. See screenshot:
2. In the Alternate Row / Column Shading dialog box, you need to do as follows:
(2) Choose the Conditional formatting option in the Shading method section.
(3) Specify the color you want to use from the Shade color drop-down list.
(4) In the Shade every box, enter the alternate rows number you want to shade.
(5) Click OK
Then you can see every 1 row of selected range is shaded with conditional formatting immediately as below screenshot shown:
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 2 years ago=ISEVEN(AGGREGATE(3,5,A$2:A2)) will maintain the alternate shading even when rows have been filtered
- To post as a guest, your comment is unpublished.· 3 years agoInstructions were perfect. Works great!! Thanks!!
- To post as a guest, your comment is unpublished.· 5 years agoThis is great. how can I achieve the same effect in word 2010
- To post as a guest, your comment is unpublished.· 5 years agoFor those of you who had problems with this formula, make sure you insert a space between the two parentheses after "ROW". This is where I initially went wrong and I had the same problem: "The formula is invalid."
Hope this helps.
- To post as a guest, your comment is unpublished.· 6 years agoWorks perfectly on my side that goodness i found this site without any agony! found it on my second Google link Thank you :lol:
- To post as a guest, your comment is unpublished.· 6 years agoDoe NOT work in Excel 2013! When I press "OK" after inputting the formula and choosing the fill color, Excel tells: "We found a problem with this formula." :sad:
- To post as a guest, your comment is unpublished.· 6 years agoTHANKKKKK YOUUU! This was so helpful! I have been searching for a way to do this for a good hour! thank you so much!
- To post as a guest, your comment is unpublished.· 6 years ago:lol:
THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU!!!!
- To post as a guest, your comment is unpublished.· 6 years agoAs a general rule, I never post comments on any site, let alone one providing assistance with Excel. However, in this instance I just want to extend a, 'thank you!' You have saved me so much time and even despite my fruitless poking,I wouldn't have uncovered the formula to alternate cells I copied the formula provided, and voila! Thank you X560.
- To post as a guest, your comment is unpublished.· 6 years agoI cannot get this to work, I always get a notification from Excel that the formula is not correct. Do I need to change some settings in Excel in order for this to work?
- To post as a guest, your comment is unpublished.· 6 years agoThanks, this was really easy.
Such a useful and common feature that programmers at Microsoft obviously never use.
- To post as a guest, your comment is unpublished.· 6 years agoGreat ! this was easy to use and very helpful. Thank you very Much