CountIFS, conditional formatting and ignoring hidden columns

NewbieExcel123

New Member
Joined
Jul 30, 2024
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I've had a long search and can't get my head around this, I believe it's a combination of Sumproduct or Sumtotals I need but I'm not too clued up to get it working.

I have a conditional formatting that looks for a value in column C and when it appears in column W, it checks the column next to column X (currently column Y) to see if it shows the text "In Office", if no, it changes the colour of a cell in column C to red.

I've tried to reference the days of the weeks cells as offset as I want to hide 5 columns (days of the week) as each week passes, so when the new week shows to the right of column X.

But I'm unsure how to do this, unfortunately I'm unable to upload photos or workbooks.

=COUNTIFS($W:$W,"*"&$C3&"*",OFFSET($X:$X,0,1,),"In Office")=0

Thank you for any help you can offer.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,223,522
Messages
6,172,819
Members
452,483
Latest member
Johnstone

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