Format only visible rows in Conditional Formatting when a filter is applied

lululu321

New Member
Joined
Mar 2, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Format only visible rows in Conditional Formatting with an active filter.

How can I modify this formula to only format visible rows when a filter is applied in Conditional Formatting?

The formula is currently:

=AND(COUNTIFS($F$4:$F4,$F4)=1,MINIFS($F$4:$F4,$F$4:$F4,">="&$F4-WEEKDAY($F4,3))=$F4)

The objective is to highlight the first Monday date or the next closest date after Monday in column F. The range of dates in column F varies in start date and length and may not always start on a Monday. Additionally, the range may have skipped dates and duplicate dates following each other. The formula should only highlight one cell per week.

03jiksgmwbla1.png
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,215,140
Messages
6,123,267
Members
449,093
Latest member
Vincent Khandagale

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