Flagging values

SBulinski1975

New Member
Joined
Sep 22, 2024
Messages
4
Office Version
  1. Prefer Not To Say
Platform
  1. Windows
So I have been working on this for a few days and have had no success. I would like to create a condition that would flag (highlight) a cell if there are consecutive values in other cells.


Here is the information:


GinoYesNoNoNoNoNoNo




So I would like the conditioning to be setup that if "No" is entered 4 to 6 times consecutively, it "flags" the name cell and colors it red.


Thanks
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Is this what you need?
Book1.xlsm
ABCDEFGH
1GinoYesNoNoNoNoYesNo
Sheet12
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1Expression=COUNTIF(B1:H1;"No")>4textNO
 
Upvote 0
@SBulinski1975, welcome to the Forum!

It would be helpful to know what version of Excel you're using, as the best solution may vary by version.

But this should work for you, regardless of version:

ABCDEFGHI
1NameQ1Q2Q3Q4Q5Q6Q7Q8
2ANoNoNoNoNo
3BNoNoNoNoNo
4CNoNoNoNoNoNo
5DNoNoNoNoNoNo
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A5Expression=MAX(FREQUENCY(IF(B2:I2="No",COLUMN(B2:I2)),IF(B2:I2<>"No",COLUMN(B2:I2))))>=4textNO
 
Upvote 0
Solution
Thanks for the replies yall however, I miss understood my supervisors instructions. It is not the name but the consecutive days the need to be highlighted.

Name1/41/81/111/151/181/221/251/292/12/5
CraigNoYesYesNoNoNoNoExcusedLOA

StephenCrump, I am using Excel 2007 on my home computer and then transferring to Google Sheets so that multiple people can review it in real time.

Yalls solutions did work on 2007, thats great!!


Thanks again
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
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