Conditional Format Sheets to highlight when there are 3 consecutive rows with a value .8 or 80% and above

khollibygolli

New Member
Joined
Apr 17, 2023
Messages
12
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
  2. Web
I have 1 column B starting at row 2. I would like for all 3 or just the third one to highlight when there is 3 consecutive rows (not every 3rd occurence) that are 80% or above(or 0.8 and above) and i would like for the conditional format to occur everytime new data is added
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
ok, so select A4 value in the rows and then down to how ever many rows you want to highlight
$A$4:$A$300

then use
=COUNTIF($A2:$A4,"<"&0.8)


Book3
A
1
20.1
31
40.3
50.1
60.2
71
80.1
90.1
100.3
11
12
13
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A4:A30Expression=COUNTIF($A2:$A4,"<"&0.8)=3textYES


for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
Conditional Formatting

Highlight applicable range >>
$A$4:$A$300 - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
[color=red=COUNTIF($A2:$A4,"<"&0.8)
[/color]
Format [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0

Forum statistics

Threads
1,223,300
Messages
6,171,297
Members
452,396
Latest member
ajl_ahmed

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