COUNTIF in Conditional Formatting question/quandry

TinaG

New Member
Joined
Aug 12, 2022
Messages
1
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
1660321736722.png


I'm using this formula =COUNTIF(B3:AC3, "OT") >0 in conditional formatting to color all weekends blue when an employee has an OT date. All employees are required to have 1 weekend OT for the month. I want to make it a different color if a date is chosen so we can tell easier if they have no OT. The problem is, when I punch in OT on my test sheet the blue only shows up to the OT column and no further (see screenshot). What am I missing to make it show the entire row for the month?
 

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,)
Hi & welcome to MrExcel.
You need to lock the columns in the formula like
Excel Formula:
=COUNTIF($B3:$AC3, "OT") >0
 
Upvote 0
Solution

Forum statistics

Threads
1,215,493
Messages
6,125,128
Members
449,206
Latest member
burgsrus

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