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

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,224,816
Messages
6,181,138
Members
453,021
Latest member
Justyna P

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