How do I write the conditional formula to highlight multiple cells when the adjacent cell is >=1?

arthurz11

Board Regular
Joined
Nov 9, 2007
Messages
158
Office Version
  1. 2021
Platform
  1. Windows
I selected the range A1:B5 and on the conditional formatting I wrote the formula =IF($D$1>=1,1,0) but it still highlighted all the cells. How do I write the formula so it would look like in cells range A8:B12???
Picture1.png
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
i think u can write without if function

like this
1724907102427.png
 
Upvote 0
Book2
ABCD
1-1-21
2-3-40
3-5-60
4-7-81
5-9-100
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:B5Expression=$D1>=1textNO
 
Upvote 0
Solution

Forum statistics

Threads
1,221,499
Messages
6,160,169
Members
451,629
Latest member
MNexcelguy19

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