Highlight Every Alternative Rows and Column

In this article, we will learn how we can highlight every alternative row and every 3rd column in Microsoft Excel. We will use Conditional formatting option along with MOD and ROW functions.

Let’s take an example and understand:-

Below is the data,

image 1

 

In this query user want to highlight the every alternative row and similarly want to highlight the every 3rd cloumn.

Follow below given steps:-

  • Select the range B6:G10
  • Go to Conditional Formatting > Select “New Rules”
  • Use a formula to determine which cells to format
  • Enter the formula =MOD(ROW(),2)=0 and format with color

image 2

 

  • Click on ok > Apply > click on ok

image 3

 

If you want to highlight every 3rd row, we will alter the formula. Write “3” at the place of “2” in formula =MOD(ROW(),3)=0.

To highlight every 3rd column in data follow below given steps:-

  • Select the range B6:G10
  • Go to Conditional Formatting > Select “New Rules”
  • Use a formula to determine which cells to format
  • Enter the formula =MOD(COLUMN(),3)=0 and format with color

image 4

 

  • Click on ok > Apply > click on ok

image 5

 

In this way, we can highlight the rows and columns as per our requirement by utilizing MS-Excel options and functions.

 

image 48

If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook.
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at info@exceltip.com

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.