Highlight cells with values >= to an amount

Deutz

Board Regular
Joined
Nov 30, 2009
Messages
191
Office Version
  1. 365
Platform
  1. Windows
Hi and thanks in advance,

I have a column on a sheet which contains year-to-date amounts (in ascending order) and I would like to use conditional formatting to highlight the first value in that column >= 1000, >= 2000, >= 3000 and so on, up to >= 9000. I have tried quite a number of formulas but still not sure how to achieve it. I would like to achieve it without array formulas if possible.



Year to date amountsCriteria met
997
999
1000First value >= 1000
1000
1002
2007First value >= 2000
2009
3024First value >= 3000
4006First value >= 4000


Thanks
Deutz
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Try the formula in conditional formatting
assuming values start from A2

Excel Formula:
=IF(OR(COUNTIF($A$2:A2,">=1000")=1,COUNTIF($A$2:A2,">=2000")=1,COUNTIF($A$2:A2,">=3000")=1,COUNTIF($A$2:A2,">=4000")=1),TRUE,FALSE)
 
Upvote 0
Solution
Try the formula in conditional formatting
assuming values start from A2

Excel Formula:
=IF(OR(COUNTIF($A$2:A2,">=1000")=1,COUNTIF($A$2:A2,">=2000")=1,COUNTIF($A$2:A2,">=3000")=1,COUNTIF($A$2:A2,">=4000")=1),TRUE,FALSE)
Thanks Sufiyan97, that works really well!!! Much appreciated !!!
 
Upvote 0
Just remembered

You don't need IF with OR, you can jus use

Excel Formula:
=OR(COUNTIF($A$2:A2,">=1000")=1,COUNTIF($A$2:A2,">=2000")=1,COUNTIF($A$2:A2,">=3000")=1,COUNTIF($A$2:A2,">=4000")=1)
 
Upvote 0

Forum statistics

Threads
1,215,773
Messages
6,126,821
Members
449,340
Latest member
hpm23

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