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

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

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