Cell Formatting with Text Data

SBulinski1975

New Member
Joined
Sep 22, 2024
Messages
4
Office Version
  1. Prefer Not To Say
Platform
  1. Windows
Hey Yall,
I am needing assistance with cell formatting. The sheet that I am working on is insanely large (100 Rows by 85 Columns) so here is a small portion of it.

The formatting has to occur when the word "No" is consecutive 4 times, like in E2 to H2. All it has to do is color fill the cell to red.

I have to use Google Sheets due to the group I am in, there will be one one person to alter the sheet other than myself.

A​
B​
C​
D​
E​
F​
G​
H​
I​
J​
Name
1/4​
1/8​
1/11​
1/15​
1/18​
1/22​
1/25​
1/29​
2/1​
Catch
No​
Yes​
Yes​
No​
No​
No​
No​
Excused​
LOA​

Thank You
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Check if this works for you:


Libro1
ABCDEFGHIJKLM
1Name1/41/81/111/151/181/221/251/291/41/81/111/15
2CatchNoYesYesNoNoNoNoExcusedLOANoYesYes
3CatchNoNoNoNoYesNoNoNoNoNoYesYes
4CatchNoYesNoNoYesNoNoYesNoNoNoNo
Hoja1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:CH100Expression=OR(COUNTIF(OFFSET(B2,0,0,1,4),"No")=4,COUNTIF(OFFSET(B2,0,-1,1,4),"No")=4,IFERROR(COUNTIF(OFFSET(B2,0,-2,1,4),"No")=4,0),IFERROR(COUNTIF(OFFSET(B2,0,-3,1,4),"No")=4,0))textNO
 
Upvote 0
Solution
Check if this works for you:


Libro1
ABCDEFGHIJKLM
1Name1/41/81/111/151/181/221/251/291/41/81/111/15
2CatchNoYesYesNoNoNoNoExcusedLOANoYesYes
3CatchNoNoNoNoYesNoNoNoNoNoYesYes
4CatchNoYesNoNoYesNoNoYesNoNoNoNo
Hoja1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:CH100Expression=OR(COUNTIF(OFFSET(B2,0,0,1,4),"No")=4,COUNTIF(OFFSET(B2,0,-1,1,4),"No")=4,IFERROR(COUNTIF(OFFSET(B2,0,-2,1,4),"No")=4,0),IFERROR(COUNTIF(OFFSET(B2,0,-3,1,4),"No")=4,0))textNO
This works perfectly!!!!! THANK YOU SO MUCH!!!!!!
 
Upvote 1

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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