Highlight every 4th row within a month

jenjamen

New Member
Joined
Aug 24, 2011
Messages
2
Hello,

I am trying to conditionally format rows - every fourth row, but only if that row happened in the same month. I have not been able to get a countif or index formula to work in the conditional format rule field. I am using XL2007.

Thanks in advance!
jennifer

Here's what I would like it to look like:
[TABLE="width: 797"]
<tbody>[TR]
[TD]Date Received[/TD]
[TD]Operator Name[/TD]
[TD]Level 1 Process[/TD]
[TD]Level 2 Process[/TD]
[TD]Level 1 Error Type[/TD]
[TD]Level 2 Error Type[/TD]
[/TR]
[TR]
[TD]8/7/2014[/TD]
[TD]Smith, John[/TD]
[TD]EP[/TD]
[TD]CO[/TD]
[TD]Mis-post[/TD]
[TD]Copy/ Paste[/TD]
[/TR]
[TR]
[TD]8/7/2014[/TD]
[TD]Smith, John[/TD]
[TD]EP[/TD]
[TD]CO[/TD]
[TD]Mis-post[/TD]
[TD]Copy/ Paste[/TD]
[/TR]
[TR]
[TD]8/7/2014[/TD]
[TD]Smith, John[/TD]
[TD]EP[/TD]
[TD]CO[/TD]
[TD]Mis-post[/TD]
[TD]Account selection[/TD]
[/TR]
[TR]
[TD]8/11/2014[/TD]
[TD]Smith, John[/TD]
[TD]Data Entry[/TD]
[TD]CO[/TD]
[TD]Mis-post[/TD]
[TD]Account selection[/TD]
[/TR]
[TR]
[TD]8/13/2014[/TD]
[TD]Smith, John[/TD]
[TD]EP[/TD]
[TD]RSLV[/TD]
[TD]Encoding[/TD]
[TD]Mis-key[/TD]
[/TR]
[TR]
[TD]8/13/2014[/TD]
[TD]Smith, John[/TD]
[TD]EP[/TD]
[TD]RSLV[/TD]
[TD]Encoding[/TD]
[TD]Mis-key[/TD]
[/TR]
[TR]
[TD]8/18/2014[/TD]
[TD]Smith, John[/TD]
[TD]Data Entry[/TD]
[TD]CO[/TD]
[TD]Mis-post[/TD]
[TD]Copy/ Paste[/TD]
[/TR]
[TR]
[TD]8/21/2014[/TD]
[TD]Smith, John[/TD]
[TD]Data Entry[/TD]
[TD]CO[/TD]
[TD]Mis-post[/TD]
[TD]Copy/ Paste[/TD]
[/TR]
[TR]
[TD]8/22/2014[/TD]
[TD]Smith, John[/TD]
[TD]EP[/TD]
[TD]RSLV[/TD]
[TD]Mis-post[/TD]
[TD]Account selection[/TD]
[/TR]
[TR]
[TD]9/13/2014[/TD]
[TD]Smith, John[/TD]
[TD]EP[/TD]
[TD]RSLV[/TD]
[TD]Encoding[/TD]
[TD]Mis-key[/TD]
[/TR]
[TR]
[TD]9/13/2014[/TD]
[TD]Smith, John[/TD]
[TD]EP[/TD]
[TD]RSLV[/TD]
[TD]Encoding[/TD]
[TD]Mis-key[/TD]
[/TR]
[TR]
[TD]9/18/2014[/TD]
[TD]Smith, John[/TD]
[TD]Data Entry[/TD]
[TD]CO[/TD]
[TD]Mis-post[/TD]
[TD]Copy/ Paste[/TD]
[/TR]
</tbody><colgroup><col><col><col span="2"><col span="2"></colgroup>[/TABLE]
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Assuming that table starts at A1, try this formula in Conditional Formatting:

=AND(MOD(ROW($A1)-1,4)=0,MONTH($A1)=MONTH(TODAY()))
 
Upvote 0

Forum statistics

Threads
1,226,218
Messages
6,189,692
Members
453,563
Latest member
Aswathimsanil

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