Highlighting every 10th row

%3CLINGO-SUB%20id%3D%22lingo-sub-2413708%22%20slang%3D%22en-US%22%3EHighlighting%20every%2010th%20row%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2413708%22%20slang%3D%22en-US%22%3E%3CP%3EI%20produce%20a%20report%20each%20month%2C%20and%20I%20have%20to%20select%20every%2010th%20row%20with%20the%20beginning%20row%20varying%20each%20month.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20month%2C%20I%20have%20to%20select%20every%2010th%20row%20that%20ends%20in%204--4%2C%2014%2C%2024%2C%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20cannot%20figure%20out%20the%20Conditional%20Formatting%20formula%20to%20make%20this%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20suggestions%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2413708%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2413845%22%20slang%3D%22en-US%22%3ERe%3A%20Highlighting%20every%2010th%20row%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2413845%22%20slang%3D%22en-US%22%3Ethere%20are%20a%20few%20options.%20You%20could%20designate%20a%20cell%20on%20the%20sheet%20or%20you%20could%20create%20a%20NAME%20to%20define%20the%20%23%20and%20then%20use%20the%20conditional%20formula%3A%3CBR%20%2F%3E%3DNOT(MOD(ROW(A1)-%24B%241%2C10))%3CBR%20%2F%3Ewhere%20A1%20is%20the%20upper%20left%20of%20the%20range%20you%20defined%20for%20the%20conditional%20formatting%20and%20%24B%241%20is%20the%20cell%20designated%20(or%20use%20a%20NAME)%20for%20the%20row%20to%20be%20highlighted.%3C%2FLINGO-BODY%3E
New Contributor

I produce a report each month, and I have to select every 10th row with the beginning row varying each month.

 

This month, I have to select every 10th row that ends in 4--4, 14, 24, etc.

 

I cannot figure out the Conditional Formatting formula to make this work.

 

Any suggestions?

4 Replies
there are a few options. You could designate a cell on the sheet or you could create a NAME to define the # and then use the conditional formula:
=NOT(MOD(ROW(A1)-$B$1,10))
where A1 is the upper left of the range you defined for the conditional formatting and $B$1 is the cell designated (or use a NAME) for the row to be highlighted.
Thank you for the response. My Excel skills are very basic. I have no clue what you are referring to when you say to create a NAME to define the #. Would you please explain?

@MaryinIdaho1986 Name manager is available under the Formulas menu item:

mtarler_0-1622748336751.png

 

It is easier to see, set, change and update as a delegated cell (for example you label D1 as "Highlight rows:" and then use E1 as the value to select which 10th row to use.

But in some cases a defined NAME can be useful.  For example if you use it a lot in many formulas then you have a NAME like Rows2Highlight and you don't have to remember what cell $E$1 is.  It is also a way to hide that value so it isn't in some report or as easily or accidentally changed.

So I hope that helps, but I'm guessing you'll be best served just using a particular cell on the sheet.

I got it to work. Here's my formula:

MaryinIdaho1986_0-1622749701058.png

As row 1 is my header, I needed to change my particular cell number to 5. If I have to select every 10th row beginning with 7, my particular cell number will be 8.

 

Thank you, so much, for your help and patience. It is greatly appreciated. This formula will make my monthly report process much more efficient.

 

Have a great day!